FutureEncodable<T> class
An Encodable that can encode a future of T
.
Prefer using AsFutureEncodable.future instead of the constructor.
Constructors
-
FutureEncodable.new(Encodable<
T> codable) -
const
Properties
Methods
-
encode(
Future< T> value, Encoder encoder) → void -
Encodes the
value
using theencoder
.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