JourneySchedule.fromJson constructor

JourneySchedule.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory JourneySchedule.fromJson(Map<String, dynamic> json) {
  return JourneySchedule(
    endTime: timeStampFromJson(json['EndTime']),
    startTime: timeStampFromJson(json['StartTime']),
    timezone: json['Timezone'] as String?,
  );
}