// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'customTimetableEvent.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: MhslApi.dateTimeFromJson(json['startDate'] as String),
      endDate: MhslApi.dateTimeFromJson(json['endDate'] as String),
      color: json['color'] as String?,
      rrule: json['rrule'] as String,
      createdAt: MhslApi.dateTimeFromJson(json['createdAt'] as String),
      updatedAt: MhslApi.dateTimeFromJson(json['updatedAt'] as String),
    );

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