// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'getHolidaysResponse.dart';

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

GetHolidaysResponse _$GetHolidaysResponseFromJson(Map<String, dynamic> json) =>
    GetHolidaysResponse(
      (json['data'] as List<dynamic>)
          .map((e) =>
              GetHolidaysResponseObject.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$GetHolidaysResponseToJson(
        GetHolidaysResponse instance) =>
    <String, dynamic>{
      'data': instance.data.map((e) => e.toJson()).toList(),
    };

GetHolidaysResponseObject _$GetHolidaysResponseObjectFromJson(
        Map<String, dynamic> json) =>
    GetHolidaysResponseObject(
      start: json['start'] as String,
      end: json['end'] as String,
      year: json['year'] as int,
      stateCode: json['stateCode'] as String,
      name: json['name'] as String,
      slug: json['slug'] as String,
    );

Map<String, dynamic> _$GetHolidaysResponseObjectToJson(
        GetHolidaysResponseObject instance) =>
    <String, dynamic>{
      'start': instance.start,
      'end': instance.end,
      'year': instance.year,
      'stateCode': instance.stateCode,
      'name': instance.name,
      'slug': instance.slug,
    };
