StreamDecodable<T> class

A Decodable implementation that can decode a stream of T.

Prefer using AsAsyncDecodable.stream instead of the constructor.

Implemented types
Available extensions

Constructors

StreamDecodable.new(Decodable<T> codable)
const

Properties

codable Decodable<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

decode(Decoder decoder) Stream<T>
Decodes a value of type T using the decoder.
inherited
decodeLazy(LazyDecoder decoder, void resolve(Stream<T> value)) → void
inherited
extract<R>(R fn<A>(Decodable<A>? codableA)) → R
Extracts the child Decodable for the type parameter A from the composed Decodable for type T.
inherited
fromJsonStream(Stream<List<int>> json) Stream<T>

Available on LazyDecodable<Stream<T>>, provided by the JsonLazyStreamDecodable extension

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