copyWith method
PublicTransportDirectoryScheduleInfo
copyWith({
- Map<
DgisObjectId, PublicTransportDirectoryRouteScheduleInfo> ? routeSchedules, - Map<
DgisObjectId, Map< ? fullDayPlatforms,PublicTransportRouteDirectionId, List< >PublicTransportPlatformSchedule> > - Map<
DgisObjectId, Map< ? nearTrips,PublicTransportRouteDirectionId, PublicTransportNearTripSchedule> >
Implementation
PublicTransportDirectoryScheduleInfo copyWith({
core.Map<DgisObjectId, PublicTransportDirectoryRouteScheduleInfo>? routeSchedules,
core.Map<DgisObjectId, core.Map<PublicTransportRouteDirectionId, List<PublicTransportPlatformSchedule>>>? fullDayPlatforms,
core.Map<DgisObjectId, core.Map<PublicTransportRouteDirectionId, PublicTransportNearTripSchedule>>? nearTrips
}) {
return PublicTransportDirectoryScheduleInfo(
routeSchedules: routeSchedules ?? this.routeSchedules,
fullDayPlatforms: fullDayPlatforms ?? this.fullDayPlatforms,
nearTrips: nearTrips ?? this.nearTrips
);
}