Skip to content

Commit c684852

Browse files
committed
Add extra key to KeyConfig class
1 parent 7016851 commit c684852

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

json_serializable/lib/src/type_helpers/config_types.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class KeyConfig {
2020

2121
final Object? unknownEnumValue;
2222

23+
final bool extra;
24+
2325
KeyConfig({
2426
required this.defaultValue,
2527
required this.disallowNullValue,
@@ -28,6 +30,7 @@ class KeyConfig {
2830
required this.name,
2931
required this.required,
3032
required this.unknownEnumValue,
33+
required this.extra,
3134
});
3235
}
3336

0 commit comments

Comments
 (0)