copyWith method
CarInstructionRoundabout
copyWith({
- CarInstructionRoundaboutType? type,
- int? turnAngle,
- int? exitNumber,
- 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
);
}