// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'file_settings.dart';

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

FileSettings _$FileSettingsFromJson(Map<String, dynamic> json) => FileSettings(
  sortFoldersToTop: json['sortFoldersToTop'] as bool,
  ascending: json['ascending'] as bool,
  sortBy: $enumDecode(_$SortOptionEnumMap, json['sortBy']),
);

Map<String, dynamic> _$FileSettingsToJson(FileSettings instance) =>
    <String, dynamic>{
      'sortFoldersToTop': instance.sortFoldersToTop,
      'ascending': instance.ascending,
      'sortBy': _$SortOptionEnumMap[instance.sortBy]!,
    };

const _$SortOptionEnumMap = {
  SortOption.name: 'name',
  SortOption.date: 'date',
  SortOption.size: 'size',
};
