copyWith method

RoutePoint copyWith({
  1. RouteDistance? distance,
})

Implementation

RoutePoint copyWith({
  RouteDistance? distance
}) {
  return RoutePoint(
    distance ?? this.distance
  );
}