// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'json_serializable.dart';

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

JsonSerializable _$JsonSerializableFromJson(
  Map<String, dynamic> json,
) => $checkedCreate(
  'JsonSerializable',
  json,
  ($checkedConvert) {
    $checkKeys(
      json,
      allowedKeys: const [
        'any_map',
        'checked',
        'constructor',
        'create_factory',
        'create_field_map',
        'create_json_keys',
        'create_json_schema',
        'create_per_field_to_json',
        'create_to_json',
        'date_time_utc',
        'disallow_unrecognized_keys',
        'explicit_to_json',
        'field_rename',
        'generic_argument_factories',
        'ignore_unannotated',
        'include_if_null',
      ],
    );
    final val = JsonSerializable(
      anyMap: $checkedConvert('any_map', (v) => v as bool?),
      checked: $checkedConvert('checked', (v) => v as bool?),
      constructor: $checkedConvert('constructor', (v) => v as String?),
      createFieldMap: $checkedConvert('create_field_map', (v) => v as bool?),
      createJsonKeys: $checkedConvert('create_json_keys', (v) => v as bool?),
      createJsonSchema: $checkedConvert(
        'create_json_schema',
        (v) => v as bool?,
      ),
      createFactory: $checkedConvert('create_factory', (v) => v as bool?),
      createToJson: $checkedConvert('create_to_json', (v) => v as bool?),
      disallowUnrecognizedKeys: $checkedConvert(
        'disallow_unrecognized_keys',
        (v) => v as bool?,
      ),
      explicitToJson: $checkedConvert('explicit_to_json', (v) => v as bool?),
      fieldRename: $checkedConvert(
        'field_rename',
        (v) => $enumDecodeNullable(_$FieldRenameEnumMap, v),
      ),
      ignoreUnannotated: $checkedConvert(
        'ignore_unannotated',
        (v) => v as bool?,
      ),
      includeIfNull: $checkedConvert('include_if_null', (v) => v as bool?),
      genericArgumentFactories: $checkedConvert(
        'generic_argument_factories',
        (v) => v as bool?,
      ),
      createPerFieldToJson: $checkedConvert(
        'create_per_field_to_json',
        (v) => v as bool?,
      ),
      dateTimeUtc: $checkedConvert('date_time_utc', (v) => v as bool?),
    );
    return val;
  },
  fieldKeyMap: const {
    'anyMap': 'any_map',
    'createFieldMap': 'create_field_map',
    'createJsonKeys': 'create_json_keys',
    'createJsonSchema': 'create_json_schema',
    'createFactory': 'create_factory',
    'createToJson': 'create_to_json',
    'disallowUnrecognizedKeys': 'disallow_unrecognized_keys',
    'explicitToJson': 'explicit_to_json',
    'fieldRename': 'field_rename',
    'ignoreUnannotated': 'ignore_unannotated',
    'includeIfNull': 'include_if_null',
    'genericArgumentFactories': 'generic_argument_factories',
    'createPerFieldToJson': 'create_per_field_to_json',
    'dateTimeUtc': 'date_time_utc',
  },
);

Map<String, dynamic> _$JsonSerializableToJson(JsonSerializable instance) =>
    <String, dynamic>{
      'any_map': instance.anyMap,
      'checked': instance.checked,
      'constructor': instance.constructor,
      'create_factory': instance.createFactory,
      'create_field_map': instance.createFieldMap,
      'create_json_keys': instance.createJsonKeys,
      'create_json_schema': instance.createJsonSchema,
      'create_per_field_to_json': instance.createPerFieldToJson,
      'create_to_json': instance.createToJson,
      'date_time_utc': instance.dateTimeUtc,
      'disallow_unrecognized_keys': instance.disallowUnrecognizedKeys,
      'explicit_to_json': instance.explicitToJson,
      'field_rename': _$FieldRenameEnumMap[instance.fieldRename],
      'generic_argument_factories': instance.genericArgumentFactories,
      'ignore_unannotated': instance.ignoreUnannotated,
      'include_if_null': instance.includeIfNull,
    };

const _$FieldRenameEnumMap = {
  FieldRename.none: 'none',
  FieldRename.kebab: 'kebab',
  FieldRename.snake: 'snake',
  FieldRename.pascal: 'pascal',
  FieldRename.screamingSnake: 'screamingSnake',
};
