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
message → String
A human-readable message corresponding to the error.
read-only, override
unrecognizedKeys → List<String>
The keys from map that were unrecognized.
final
hashCode → int
The hash code for this object.
read-only, inherited
map → Map
The source Map that the unrecognized keys were found in.
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited