copyWith method
CarInstructionCrossroad
copyWith({
- CarInstructionCrossroadDirection? direction,
- int? turnAngle,
- CarInstructionCrossroadLandmark? landmark,
- String? exitName,
Implementation
CarInstructionCrossroad copyWith({
CarInstructionCrossroadDirection? direction,
int? turnAngle,
CarInstructionCrossroadLandmark? landmark,
String? exitName
}) {
return CarInstructionCrossroad(
direction: direction ?? this.direction,
turnAngle: turnAngle ?? this.turnAngle,
landmark: landmark ?? this.landmark,
exitName: exitName ?? this.exitName
);
}