UnrecognizedKeysException class

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

Inheritance

Constructors

UnrecognizedKeysException(List<String> unrecognizedKeys, Map map, List<String> allowedKeys)

Properties

allowedKeys List<String>
The allowed keys for map.
final
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unrecognizedKeys List<String>
The keys from map that were unrecognized.
final

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