ErrorMessage class

An error delivered through the callback API.

Constructors

ErrorMessage({required String code, required String message, String? details})

Properties

code ↔ String
getter/setter pair
details ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
message ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Object
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.
override

Static Methods

decode(Object result) → ErrorMessage