// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'custom_timetable_event.dart';

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

CustomTimetableEvent _$CustomTimetableEventFromJson(
  Map<String, dynamic> json,
) => CustomTimetableEvent(
  id: json['id'] as String,
  title: json['title'] as String,
  description: json['description'] as String,
  startDate: CustomTimetableEvent._dateFromJson(json['startDate'] as String),
  endDate: CustomTimetableEvent._dateFromJson(json['endDate'] as String),
  color: json['color'] as String?,
  rrule: json['rrule'] as String,
  skipHolidays: json['skipHolidays'] as bool? ?? false,
  createdAt: CustomTimetableEvent._dateFromJson(json['createdAt'] as String),
  updatedAt: CustomTimetableEvent._dateFromJson(json['updatedAt'] as String),
);

Map<String, dynamic> _$CustomTimetableEventToJson(
  CustomTimetableEvent instance,
) => <String, dynamic>{
  'id': instance.id,
  'title': instance.title,
  'description': instance.description,
  'startDate': CustomTimetableEvent._dateToJson(instance.startDate),
  'endDate': CustomTimetableEvent._dateToJson(instance.endDate),
  'color': instance.color,
  'rrule': instance.rrule,
  'skipHolidays': instance.skipHolidays,
  'createdAt': CustomTimetableEvent._dateToJson(instance.createdAt),
  'updatedAt': CustomTimetableEvent._dateToJson(instance.updatedAt),
};
