UnknownJsonTypeError class

Error thrown when a JSON type is not recognized. This is a subclass of ArgumentError because unknown enums also throw an ArgumentError, so we can catch all of them together.

Inheritance

Constructors

UnknownJsonTypeError(dynamic type)

Properties

hashCode int
The hash code for this object.
no setterinherited
invalidValue → dynamic
The invalid value.
finalinherited
message → dynamic
Message describing the problem.
finalinherited
name String?
Name of the invalid argument, if available.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The stack trace at the point where this error was first thrown.
no setterinherited
type → dynamic
final

Methods

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

Operators

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