We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52236b0 commit 12414e0Copy full SHA for 12414e0
json_serializable/lib/src/enum_utils.dart
@@ -29,7 +29,7 @@ String? enumValueMapFromType(
29
30
final enumMap = {
31
for (var field in enumFields)
32
- field: generateEntry(
+ field: _generateEntry(
33
field: field,
34
jsonEnum: jsonEnum,
35
targetType: targetType,
@@ -44,7 +44,7 @@ String? enumValueMapFromType(
44
return 'const ${constMapName(targetType)} = {\n$items\n};';
45
}
46
47
-Object? generateEntry({
+Object? _generateEntry({
48
required FieldElement field,
49
required JsonEnum jsonEnum,
50
required DartType targetType,
0 commit comments