disallowUnrecognizedKeys property

bool? disallowUnrecognizedKeys
final

If false (the default), then the generated FromJson function will ignore unrecognized keys in the provided JSON Map.

If true, unrecognized keys will cause an UnrecognizedKeysException to be thrown.

Implementation

final bool? disallowUnrecognizedKeys;