// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'marianum_dates_state.dart';

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

_MarianumDatesState _$MarianumDatesStateFromJson(Map<String, dynamic> json) =>
    _MarianumDatesState(
      showPastEvents: json['showPastEvents'] as bool,
      events: (json['events'] as List<dynamic>)
          .map((e) => MarianumDate.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$MarianumDatesStateToJson(_MarianumDatesState instance) =>
    <String, dynamic>{
      'showPastEvents': instance.showPastEvents,
      'events': instance.events,
    };

_MarianumDate _$MarianumDateFromJson(Map<String, dynamic> json) =>
    _MarianumDate(
      uid: json['uid'] as String,
      title: json['title'] as String,
      description: json['description'] as String?,
      start: DateTime.parse(json['start'] as String),
      end: DateTime.parse(json['end'] as String),
      isAllDay: json['isAllDay'] as bool,
    );

Map<String, dynamic> _$MarianumDateToJson(_MarianumDate instance) =>
    <String, dynamic>{
      'uid': instance.uid,
      'title': instance.title,
      'description': instance.description,
      'start': instance.start.toIso8601String(),
      'end': instance.end.toIso8601String(),
      'isAllDay': instance.isAllDay,
    };
