From cbbbf728cc6d34740990be63ad9a512a2aac7a55 Mon Sep 17 00:00:00 2001 From: "Mateus Felipe C. C. Pinto" Date: Tue, 26 Nov 2024 17:36:35 -0300 Subject: [PATCH] chore: regenerate generated files --- _test_yaml/test/src/build_config.g.dart | 2 ++ json_serializable/test/default_value/default_value.g.dart | 1 + .../default_value/default_value.g_any_map__checked.g.dart | 1 + .../test/default_value/implicit_default_value.g.dart | 1 + .../test/integration/converter_examples.g.dart | 1 + .../integration/create_per_field_to_json_example.g.dart | 1 + .../test/integration/json_enum_example.g.dart | 7 +++++++ .../test/integration/json_test_example.g.dart | 2 ++ .../test/integration/json_test_example.g_any_map.g.dart | 2 ++ .../test/supported_types/input.type_enumtype.g.dart | 1 + .../test/supported_types/input.type_iterable.g.dart | 1 + .../test/supported_types/input.type_list.g.dart | 1 + .../test/supported_types/input.type_map.g.dart | 1 + .../test/supported_types/input.type_record.g.dart | 1 + .../test/supported_types/input.type_set.g.dart | 1 + 15 files changed, 24 insertions(+) diff --git a/_test_yaml/test/src/build_config.g.dart b/_test_yaml/test/src/build_config.g.dart index 89e4868d..42127cb2 100644 --- a/_test_yaml/test/src/build_config.g.dart +++ b/_test_yaml/test/src/build_config.g.dart @@ -38,6 +38,7 @@ Map _$ConfigToJson(Config instance) => { instance.weights?.map((k, e) => MapEntry(_$AutoApplyEnumMap[k]!, e)), }; +// ignore: unused_element const _$AutoApplyEnumMap = { AutoApply.none: 'none', AutoApply.dependents: 'dependents', @@ -136,6 +137,7 @@ Map _$BuilderToJson(Builder instance) => { if (instance.buildExtensions case final value?) 'build_extensions': value, }; +// ignore: unused_element const _$BuildToEnumMap = { BuildTo.cache: 'cache', BuildTo.source: 'source', diff --git a/json_serializable/test/default_value/default_value.g.dart b/json_serializable/test/default_value/default_value.g.dart index fc03dfe0..6e49d0c6 100644 --- a/json_serializable/test/default_value/default_value.g.dart +++ b/json_serializable/test/default_value/default_value.g.dart @@ -94,6 +94,7 @@ Map _$DefaultValueToJson(DefaultValue instance) => instance.valueFromDefaultValueNamedConstructor, }; +// ignore: unused_element const _$GreekEnumMap = { Greek.alpha: 'alpha', Greek.beta: 'beta', diff --git a/json_serializable/test/default_value/default_value.g_any_map__checked.g.dart b/json_serializable/test/default_value/default_value.g_any_map__checked.g.dart index d0d34c4b..f6357410 100644 --- a/json_serializable/test/default_value/default_value.g_any_map__checked.g.dart +++ b/json_serializable/test/default_value/default_value.g_any_map__checked.g.dart @@ -120,6 +120,7 @@ Map _$DefaultValueToJson(DefaultValue instance) => instance.valueFromDefaultValueNamedConstructor, }; +// ignore: unused_element const _$GreekEnumMap = { Greek.alpha: 'alpha', Greek.beta: 'beta', diff --git a/json_serializable/test/default_value/implicit_default_value.g.dart b/json_serializable/test/default_value/implicit_default_value.g.dart index 512128d0..70113585 100644 --- a/json_serializable/test/default_value/implicit_default_value.g.dart +++ b/json_serializable/test/default_value/implicit_default_value.g.dart @@ -98,6 +98,7 @@ Map _$DefaultValueImplicitToJson( instance.valueFromDefaultValueNamedConstructor, }; +// ignore: unused_element const _$GreekEnumMap = { Greek.alpha: 'alpha', Greek.beta: 'beta', diff --git a/json_serializable/test/integration/converter_examples.g.dart b/json_serializable/test/integration/converter_examples.g.dart index a4c16ed1..6c4fc4d2 100644 --- a/json_serializable/test/integration/converter_examples.g.dart +++ b/json_serializable/test/integration/converter_examples.g.dart @@ -48,6 +48,7 @@ Map _$Issue1202RegressionClassToJson( 'valueWithNullableFunctions': value, }; +// ignore: unused_element const _$Issue1202RegressionEnumEnumMap = { Issue1202RegressionEnum.normalValue: 42, Issue1202RegressionEnum.nullValue: null, diff --git a/json_serializable/test/integration/create_per_field_to_json_example.g.dart b/json_serializable/test/integration/create_per_field_to_json_example.g.dart index 0f40163c..a862dd89 100644 --- a/json_serializable/test/integration/create_per_field_to_json_example.g.dart +++ b/json_serializable/test/integration/create_per_field_to_json_example.g.dart @@ -58,6 +58,7 @@ Map _$ModelToJson(Model instance) => { 'nestedExcludeIfNull': value, }; +// ignore: unused_element const _$EnumValueEnumMap = { EnumValue.first: '1', EnumValue.second: 'second', diff --git a/json_serializable/test/integration/json_enum_example.g.dart b/json_serializable/test/integration/json_enum_example.g.dart index 321262fc..1e78f169 100644 --- a/json_serializable/test/integration/json_enum_example.g.dart +++ b/json_serializable/test/integration/json_enum_example.g.dart @@ -21,6 +21,7 @@ Issue559Regression _$Issue559RegressionFromJson(Map json) { ); } +// ignore: unused_element const _$Issue559RegressionEnumEnumMap = { Issue559RegressionEnum.alpha: 'alpha', Issue559RegressionEnum.beta: 'beta', @@ -41,6 +42,7 @@ Map _$Issue1145RegressionAToJson( .map((k, e) => MapEntry(_$Issue1145RegressionEnumEnumMap[k]!, e)), }; +// ignore: unused_element const _$Issue1145RegressionEnumEnumMap = { Issue1145RegressionEnum.alpha: 'alpha', Issue1145RegressionEnum.beta: 'beta', @@ -87,6 +89,7 @@ Map _$EnumWithAliasesDataToJson( 'value': _$EnumWithAliasesEnumMap[instance.value]!, }; +// ignore: unused_element const _$EnumWithAliasesEnumMap = { EnumWithAliases.one: '1', EnumWithAliases.two: '2', @@ -102,6 +105,7 @@ const _$EnumWithAliasesEnumDecodeMap = { '3': EnumWithAliases.three, }; +// ignore: unused_element const _$StandAloneEnumEnumMap = { StandAloneEnum.alpha: 'a', StandAloneEnum.beta: 'b', @@ -117,6 +121,7 @@ const _$StandAloneEnumEnumDecodeMap = { 'd': StandAloneEnum.delta, }; +// ignore: unused_element const _$DayTypeEnumMap = { DayType.noGood: 'no-good', DayType.rotten: 'rotten', @@ -130,6 +135,7 @@ const _$DayTypeEnumDecodeMap = { 'very-bad': DayType.veryBad, }; +// ignore: unused_element const _$MyStatusCodeEnumMap = { MyStatusCode.success: 200, MyStatusCode.weird: 701, @@ -141,6 +147,7 @@ const _$MyStatusCodeEnumDecodeMap = { 701: MyStatusCode.weird, }; +// ignore: unused_element const _$EnumValueFieldIndexEnumMap = { EnumValueFieldIndex.success: 0, EnumValueFieldIndex.weird: 701, diff --git a/json_serializable/test/integration/json_test_example.g.dart b/json_serializable/test/integration/json_test_example.g.dart index 342172c0..03f3b53b 100644 --- a/json_serializable/test/integration/json_test_example.g.dart +++ b/json_serializable/test/integration/json_test_example.g.dart @@ -48,6 +48,7 @@ Map _$PersonToJson(Person instance) => { ?.map((k, e) => MapEntry(_$CategoryEnumMap[k]!, e)), }; +// ignore: unused_element const _$CategoryEnumMap = { Category.top: 'top', Category.bottom: 'bottom', @@ -110,6 +111,7 @@ Map _$OrderToJson(Order instance) => { 'status_code': _$StatusCodeEnumMap[instance.statusCode], }; +// ignore: unused_element const _$StatusCodeEnumMap = { StatusCode.success: 200, StatusCode.notFound: 404, diff --git a/json_serializable/test/integration/json_test_example.g_any_map.g.dart b/json_serializable/test/integration/json_test_example.g_any_map.g.dart index 51ff5422..b99210a5 100644 --- a/json_serializable/test/integration/json_test_example.g_any_map.g.dart +++ b/json_serializable/test/integration/json_test_example.g_any_map.g.dart @@ -48,6 +48,7 @@ Map _$PersonToJson(Person instance) => { ?.map((k, e) => MapEntry(_$CategoryEnumMap[k]!, e)), }; +// ignore: unused_element const _$CategoryEnumMap = { Category.top: 'top', Category.bottom: 'bottom', @@ -110,6 +111,7 @@ Map _$OrderToJson(Order instance) => { 'status_code': _$StatusCodeEnumMap[instance.statusCode], }; +// ignore: unused_element const _$StatusCodeEnumMap = { StatusCode.success: 200, StatusCode.notFound: 404, diff --git a/json_serializable/test/supported_types/input.type_enumtype.g.dart b/json_serializable/test/supported_types/input.type_enumtype.g.dart index 56e83fae..841d889f 100644 --- a/json_serializable/test/supported_types/input.type_enumtype.g.dart +++ b/json_serializable/test/supported_types/input.type_enumtype.g.dart @@ -21,6 +21,7 @@ Map _$SimpleClassToJson(SimpleClass instance) => 'withDefault': _$EnumTypeEnumMap[instance.withDefault]!, }; +// ignore: unused_element const _$EnumTypeEnumMap = { EnumType.alpha: 'alpha', EnumType.beta: 'beta', diff --git a/json_serializable/test/supported_types/input.type_iterable.g.dart b/json_serializable/test/supported_types/input.type_iterable.g.dart index 11753eae..104f1610 100644 --- a/json_serializable/test/supported_types/input.type_iterable.g.dart +++ b/json_serializable/test/supported_types/input.type_iterable.g.dart @@ -317,6 +317,7 @@ Map _$SimpleClassOfEnumTypeToJson( 'value': instance.value.map((e) => _$EnumTypeEnumMap[e]!).toList(), }; +// ignore: unused_element const _$EnumTypeEnumMap = { EnumType.alpha: 'alpha', EnumType.beta: 'beta', diff --git a/json_serializable/test/supported_types/input.type_list.g.dart b/json_serializable/test/supported_types/input.type_list.g.dart index 3ccfa961..b4f17a06 100644 --- a/json_serializable/test/supported_types/input.type_list.g.dart +++ b/json_serializable/test/supported_types/input.type_list.g.dart @@ -342,6 +342,7 @@ Map _$SimpleClassOfEnumTypeToJson( 'value': instance.value.map((e) => _$EnumTypeEnumMap[e]!).toList(), }; +// ignore: unused_element const _$EnumTypeEnumMap = { EnumType.alpha: 'alpha', EnumType.beta: 'beta', diff --git a/json_serializable/test/supported_types/input.type_map.g.dart b/json_serializable/test/supported_types/input.type_map.g.dart index 8a03cb78..cf1f77e4 100644 --- a/json_serializable/test/supported_types/input.type_map.g.dart +++ b/json_serializable/test/supported_types/input.type_map.g.dart @@ -137,6 +137,7 @@ Map _$SimpleClassOfEnumTypeToBigIntToJson( .map((k, e) => MapEntry(_$EnumTypeEnumMap[k]!, e.toString())), }; +// ignore: unused_element const _$EnumTypeEnumMap = { EnumType.alpha: 'alpha', EnumType.beta: 'beta', diff --git a/json_serializable/test/supported_types/input.type_record.g.dart b/json_serializable/test/supported_types/input.type_record.g.dart index 8bb99e23..dbf67e47 100644 --- a/json_serializable/test/supported_types/input.type_record.g.dart +++ b/json_serializable/test/supported_types/input.type_record.g.dart @@ -569,6 +569,7 @@ Map _$SimpleClassOfEnumTypeToJson( }, }; +// ignore: unused_element const _$EnumTypeEnumMap = { EnumType.alpha: 'alpha', EnumType.beta: 'beta', diff --git a/json_serializable/test/supported_types/input.type_set.g.dart b/json_serializable/test/supported_types/input.type_set.g.dart index 5a6c4411..282e1fc1 100644 --- a/json_serializable/test/supported_types/input.type_set.g.dart +++ b/json_serializable/test/supported_types/input.type_set.g.dart @@ -344,6 +344,7 @@ Map _$SimpleClassOfEnumTypeToJson( 'value': instance.value.map((e) => _$EnumTypeEnumMap[e]!).toList(), }; +// ignore: unused_element const _$EnumTypeEnumMap = { EnumType.alpha: 'alpha', EnumType.beta: 'beta',