copyWith method

PublicBriefRouteInfo copyWith({
  1. List<PublicBriefRouteTransportInfo>? publicTransportInfos,
})

Implementation

PublicBriefRouteInfo copyWith({
  List<PublicBriefRouteTransportInfo>? publicTransportInfos
}) {
  return PublicBriefRouteInfo(
    publicTransportInfos ?? this.publicTransportInfos
  );
}