copyWith method
RouteEditorRouteParams
copyWith({
- RouteSearchPoint? startPoint,
- RouteSearchPoint? finishPoint,
- RouteSearchOptions? routeSearchOptions,
- List<
RouteSearchPoint> ? intermediatePoints,
Implementation
RouteEditorRouteParams copyWith({
RouteSearchPoint? startPoint,
RouteSearchPoint? finishPoint,
RouteSearchOptions? routeSearchOptions,
List<RouteSearchPoint>? intermediatePoints
}) {
return RouteEditorRouteParams(
startPoint: startPoint ?? this.startPoint,
finishPoint: finishPoint ?? this.finishPoint,
routeSearchOptions: routeSearchOptions ?? this.routeSearchOptions,
intermediatePoints: intermediatePoints ?? this.intermediatePoints
);
}