// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'timetable_settings.dart';

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

TimetableSettings _$TimetableSettingsFromJson(Map<String, dynamic> json) =>
    TimetableSettings(
      connectDoubleLessons: json['connectDoubleLessons'] as bool,
      timetableNameMode: $enumDecode(
        _$TimetableNameModeEnumMap,
        json['timetableNameMode'],
      ),
    );

Map<String, dynamic> _$TimetableSettingsToJson(
  TimetableSettings instance,
) => <String, dynamic>{
  'connectDoubleLessons': instance.connectDoubleLessons,
  'timetableNameMode': _$TimetableNameModeEnumMap[instance.timetableNameMode]!,
};

const _$TimetableNameModeEnumMap = {
  TimetableNameMode.name: 'name',
  TimetableNameMode.longName: 'longName',
  TimetableNameMode.alternateName: 'alternateName',
};
