loadAll method

Future<List<Image>> loadAll(
  1. List<String> fileNames
)

Loads all images with the specified fileNames into the cache.

Implementation

Future<List<Image>> loadAll(List<String> fileNames) {
  return Future.wait(fileNames.map(load));
}