copyWith method

DoubleRouteEntry copyWith({
  1. RoutePoint? point,
  2. double? value,
})

Implementation

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