copyWith method

Implementation

PedestrianInstructionCrossroad copyWith({
  PedestrianInstructionCrossroadLandmark? landmark,
  List<PedestrianInstructionCrossroadManeuver>? maneuvers
}) {
  return PedestrianInstructionCrossroad(
    landmark: landmark ?? this.landmark,
    maneuvers: maneuvers ?? this.maneuvers
  );
}