loadAll method

Future<List<bool>> loadAll()

Loads all the images of this list.

Implementation

Future<List<bool>> loadAll() {
  var list = map((e) => e.load())
      .map((e) => e is Future<bool> ? e : Future.value(e))
      .toList();

  return Future.wait(list);
}