copyWith method
Implementation
RouteLevelInfo copyWith({
Optional<LevelId?>? beginId,
Optional<LevelId?>? endId,
String? name
}) {
return RouteLevelInfo(
beginId: beginId != null ? beginId.value : this.beginId,
endId: endId != null ? endId.value : this.endId,
name: name ?? this.name
);
}