ready method
Waits until all currently pending image loading operations complete.
Implementation
Future<void> ready() {
return Future.wait(_assets.values.map((asset) => asset.retrieveAsync()));
}
Waits until all currently pending image loading operations complete.
Future<void> ready() {
return Future.wait(_assets.values.map((asset) => asset.retrieveAsync()));
}