ready method

Future<void> ready()

Waits until all currently pending image loading operations complete.

Implementation

Future<void> ready() {
  return Future.wait(_assets.values.map((asset) => asset.retrieveAsync()));
}