copyWith method
ScooterInstructionCrossroad
copyWith({
- ScooterInstructionCrossroadLandmark? landmark,
- List<
ScooterInstructionCrossroadManeuver> ? maneuvers,
Implementation
ScooterInstructionCrossroad copyWith({
ScooterInstructionCrossroadLandmark? landmark,
List<ScooterInstructionCrossroadManeuver>? maneuvers
}) {
return ScooterInstructionCrossroad(
landmark: landmark ?? this.landmark,
maneuvers: maneuvers ?? this.maneuvers
);
}