copyWith method
RouteLane
copyWith({
- RouteLaneManeuver? routeManeuver,
- RouteLaneManeuverEnumSet? maneuvers,
- double? speedLimit,
- bool? prohibited,
- bool? onlyPublicTransport,
Implementation
RouteLane copyWith({
RouteLaneManeuver? routeManeuver,
RouteLaneManeuverEnumSet? maneuvers,
double? speedLimit,
bool? prohibited,
bool? onlyPublicTransport
}) {
return RouteLane(
routeManeuver: routeManeuver ?? this.routeManeuver,
maneuvers: maneuvers ?? this.maneuvers,
speedLimit: speedLimit ?? this.speedLimit,
prohibited: prohibited ?? this.prohibited,
onlyPublicTransport: onlyPublicTransport ?? this.onlyPublicTransport
);
}