decodeList<E> method

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

Decodes the data as a list of elements.

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

Implementation

@override
List<E> decodeList<E>({Decodable<E>? using}) {
  final key = keys.current;
  return decoder.decodeList(key is String ? key : '', id: key is int ? key : null, using: using);
}