decodeList<I> method

  1. @override
List<I> decodeList<I>({
  1. Decodable<I>? using,
})
override

Decodes the data as a list of elements.

Optionally takes a Decodable to decode the elements of the list.

Implementation

@override
List<I> decodeList<I>({Decodable<I>? using}) {
  return [
    for (; nextItem();) decodeObject(using: using),
  ];
}