copyWith method

Implementation

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