// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'get_custom_timetable_event_response.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

GetCustomTimetableEventResponse _$GetCustomTimetableEventResponseFromJson(
  Map<String, dynamic> json,
) =>
    GetCustomTimetableEventResponse(
        (json['events'] as List<dynamic>)
            .map(
              (e) => CustomTimetableEvent.fromJson(e as Map<String, dynamic>),
            )
            .toList(),
      )
      ..headers = (json['headers'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      );

Map<String, dynamic> _$GetCustomTimetableEventResponseToJson(
  GetCustomTimetableEventResponse instance,
) => <String, dynamic>{'headers': ?instance.headers, 'events': instance.events};
