AlphaXDecode class final

Supplies a callable Dart expression for typed response decoding.

expression must accept one decoded JSON value and return the declared response type, for example User.fromJson or parseUser.

Constructors

AlphaXDecode(String expression)
Creates response-decoder metadata.
const

Properties

expression String
A callable expression emitted into generated source.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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