StreamCodable<T> class
A Codable implementation that can decode a stream of T
.
Prefer using AsAsyncCodable.stream instead of the constructor.
- Implemented types
-
- LazyCodable<
Stream< T> > - ComposedDecodable1<
Stream< T> , T> - LazyDecodable<
Stream< T> >
- LazyCodable<
- Available extensions
Constructors
-
StreamCodable.new(Codable<
T> codable) -
const
Properties
Methods
-
decode(
Decoder decoder) → Stream< T> -
Decodes a value of type
T
using thedecoder
.inherited -
decodeLazy(
LazyDecoder decoder, void resolve(Stream< T> value)) → void -
inherited
-
encode(
Stream< T> value, Encoder encoder) → void -
Encodes the
value
using theencoder
.override -
extract<
R> (R fn< A>(Codable< ) → RA> ? codableA) -
Extracts the child Decodable for the type parameter
A
from the composed Decodable for type T.override -
fromJsonStream(
Stream< List< json) → Stream<int> >T> -
Available on LazyDecodable<
Stream< , provided by the JsonLazyStreamDecodable extensionT> > -
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