copyWith method
Implementation
BriefRouteInfo copyWith({
Duration? duration,
BriefExtraRouteInfo? extraInfo
}) {
return BriefRouteInfo(
duration: duration ?? this.duration,
extraInfo: extraInfo ?? this.extraInfo
);
}
BriefRouteInfo copyWith({
Duration? duration,
BriefExtraRouteInfo? extraInfo
}) {
return BriefRouteInfo(
duration: duration ?? this.duration,
extraInfo: extraInfo ?? this.extraInfo
);
}