FutureCodable<T> class
A Codable that can encode and decode a future of E
.
Prefer using AsAsyncCodable.future instead of the constructor.
- Implemented types
-
- Codable<
Future< T> > - ComposedDecodable1<
Future< T> , T>
- Codable<
Constructors
-
FutureCodable.new(Codable<
T> codable) -
const
Properties
Methods
-
decode(
Decoder decoder) → Future< T> -
Decodes a value of type
T
using thedecoder
.inherited -
encode(
Future< T> value, Encoder encoder) → void -
Encodes the
value
using theencoder
.override -
extract<
R> (R fn< A>(Codable< ) → RA> ? codableA) -
Extracts the child Decodable for the type parameter
A
from the composed Decodable for type T.override -
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