copyWith method
ScooterInstructionCrossroadManeuver
copyWith({
- ScooterInstructionCrossroadManeuverDirection? direction,
- int? turnAngle,
Implementation
ScooterInstructionCrossroadManeuver copyWith({
ScooterInstructionCrossroadManeuverDirection? direction,
int? turnAngle
}) {
return ScooterInstructionCrossroadManeuver(
direction: direction ?? this.direction,
turnAngle: turnAngle ?? this.turnAngle
);
}