24 lines
852 B
Dart
24 lines
852 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'holidays_state.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_HolidaysState _$HolidaysStateFromJson(Map<String, dynamic> json) =>
|
|
_HolidaysState(
|
|
showPastHolidays: json['showPastHolidays'] as bool,
|
|
showDisclaimer: json['showDisclaimer'] as bool,
|
|
holidays: (json['holidays'] as List<dynamic>)
|
|
.map((e) => McHoliday.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
|
|
Map<String, dynamic> _$HolidaysStateToJson(_HolidaysState instance) =>
|
|
<String, dynamic>{
|
|
'showPastHolidays': instance.showPastHolidays,
|
|
'showDisclaimer': instance.showDisclaimer,
|
|
'holidays': instance.holidays,
|
|
};
|