ListDecodable<E> class
A Decodable implementation that can decode a list of E
.
Prefer using AsListDecodable.list instead of the constructor.
- Implemented types
-
- ComposedDecodable1<
List< E> , E> - LazyDecodable<
List< E> >
- ComposedDecodable1<
Constructors
-
ListDecodable.new(Decodable<
E> codable) -
const
Properties
Methods
-
decode(
Decoder decoder) → List< E> -
Decodes a value of type
T
using thedecoder
.inherited -
decodeLazy(
LazyDecoder decoder, void resolve(List< E> )) → void -
inherited
-
extract<
R> (R fn< A>(Decodable< ) → RA> ? codableA) -
Extracts the child Decodable for the type parameter
A
from the composed Decodable for type T.inherited -
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