copyWith method

Implementation

BicycleInstructionCrossroadManeuver copyWith({
  BicycleInstructionCrossroadManeuverDirection? direction,
  int? turnAngle
}) {
  return BicycleInstructionCrossroadManeuver(
    direction: direction ?? this.direction,
    turnAngle: turnAngle ?? this.turnAngle
  );
}