MissingRequiredKeysException class

Exception thrown if there are missing required keys in a JSON map that was provided during deserialization.

Inheritance

Constructors

MissingRequiredKeysException(List<String> missingKeys, Map map)

Properties

hashCode int
The hash code for this object.
no setterinherited
map Map
The source Map that the unrecognized keys were found in.
finalinherited
message String
A human-readable message corresponding to the error.
no setteroverride
missingKeys List<String>
The keys that map is missing.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited