load method

Future<List<Document>> load()

Loads a list of documents.

Under the hood, this method calls lazyLoad and collects all the results into a list. Use this method only with small data sets, as it will load all the data into memory at once.

Implementation

Future<List<Document>> load() {
  return lazyLoad().toList();
}