copyWith method

RouteBuildOptions copyWith({
  1. RouteSearchPoint? finishPoint,
  2. RouteSearchOptions? routeSearchOptions,
})

Implementation

RouteBuildOptions copyWith({
  RouteSearchPoint? finishPoint,
  RouteSearchOptions? routeSearchOptions
}) {
  return RouteBuildOptions(
    finishPoint: finishPoint ?? this.finishPoint,
    routeSearchOptions: routeSearchOptions ?? this.routeSearchOptions
  );
}