future method

Encodable<Future<T>> future()

Returns an Encodable that can encode a future of T.

Implementation

Encodable<Future<T>> future() => FutureEncodable<T>(this);