asObjectList<E, T> method
Returns this decoded value as a list of dart objects (specified by T
),
built using transformer
).
Throws a JsonTransformationError if:
E
could not represent an encodable object.- this decoded value is not a list.
- this decoded value is not an instance of List<T>.
Implementation
List<T> asObjectList<E, T>(ObjectTransformer<E, T> transformer) =>
transformObjectList<E, T>(value, transformer);