copyWith method

CarInstructionRoundabout copyWith({
  1. CarInstructionRoundaboutType? type,
  2. int? turnAngle,
  3. int? exitNumber,
  4. String? exitName,
})

Implementation

CarInstructionRoundabout copyWith({
  CarInstructionRoundaboutType? type,
  int? turnAngle,
  int? exitNumber,
  String? exitName
}) {
  return CarInstructionRoundabout(
    type: type ?? this.type,
    turnAngle: turnAngle ?? this.turnAngle,
    exitNumber: exitNumber ?? this.exitNumber,
    exitName: exitName ?? this.exitName
  );
}