CheckedFromJsonException class

Exception thrown if there is a runtime exception in fromJson code generated when JsonSerializableGenerator.checked is true

Constructors

CheckedFromJsonException(Map map, String key, String className, String message, {bool badKey: false})
Creates a new instance of CheckedFromJsonException.

Properties

badKey → bool
If this was thrown due to an invalid or unsupported key, as opposed to an invalid value.
final
className → String
The name of the class being created when innerError was thrown.
read-only
innerError → Object
The Error or Exception that triggered this exception. [...]
final
innerStack → StackTrace
The StackTrace for the Error or Exception that triggered this exception. [...]
final
key → String
The key from map that corresponds to the thrown innerError. [...]
final
map → Map
The source Map that was used for decoding when the innerError was thrown.
final
message → String
A human-readable message corresponding to innerError. [...]
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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