StreamEncodable<T> class

An Encodable that can encode a stream of T.

Prefer using AsFutureEncodable.stream instead of the constructor.

Implemented types

Constructors

StreamEncodable.new(Encodable<T> codable)
const

Properties

codable Encodable<T>
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

encode(Stream<T> value, Encoder encoder) → void
Encodes the value using the encoder.
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