ApiErrorDecoder class abstract interface

Converts one backend response shape into normalized error messages.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

canDecode(Object? data) → bool
Whether this decoder recognizes data.
decode(Object? data) → Iterable<ApiErrorMessage>
Decodes data into normalized messages.
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