AsyncEncoder extension

on

Methods

encodeFuture<T>(Future<T> value, {Encodable<T>? using}) → void

Available on Encoder, provided by the AsyncEncoder extension

Encodes a Future of T using the provided Encodable.
encodeFutureOrNull<T>(Future<T>? value, {Encodable<T>? using}) → void

Available on Encoder, provided by the AsyncEncoder extension

Encodes a Future of T or null using the provided Encodable.
encodeStream<T>(Stream<T> value, {Encodable<T>? using}) → void

Available on Encoder, provided by the AsyncEncoder extension

Encodes a Stream of T using the provided Encodable.
encodeStreamOrNull<T>(Stream<T>? value, {Encodable<T>? using}) → void

Available on Encoder, provided by the AsyncEncoder extension

Encodes a Stream of T or null using the provided Encodable.