copyWith method

FloatRouteLongEntry copyWith({
  1. RoutePoint? point,
  2. RouteDistance? length,
  3. double? value,
})

Implementation

FloatRouteLongEntry copyWith({
  RoutePoint? point,
  RouteDistance? length,
  double? value
}) {
  return FloatRouteLongEntry(
    point: point ?? this.point,
    length: length ?? this.length,
    value: value ?? this.value
  );
}