copyWith method

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
  );
}