toList method

  1. @override
Future<List<T?>> toList()
override

toList returns items list

Implementation

@override
Future<List<T?>> toList() async {
  return (await toMap()).map((item) => converter.encode(item)).toList();
}