copyWith method

LanesCalloutMapPosition copyWith({
  1. MapId? mapId,
  2. RoutePoint? routePoint,
  3. GeoPoint? geoPoint,
})

Implementation

LanesCalloutMapPosition copyWith({
  MapId? mapId,
  RoutePoint? routePoint,
  GeoPoint? geoPoint
}) {
  return LanesCalloutMapPosition(
    mapId: mapId ?? this.mapId,
    routePoint: routePoint ?? this.routePoint,
    geoPoint: geoPoint ?? this.geoPoint
  );
}