copyWith method
Implementation
BriefRoadEvent copyWith({
int? id,
RoadEventType? eventType,
LaneEnumSet? lanes
}) {
return BriefRoadEvent(
id: id ?? this.id,
eventType: eventType ?? this.eventType,
lanes: lanes ?? this.lanes
);
}