loadAsync method
Implementation
Future loadAsync(url) async {
Completer completer = Completer();
load(url, (buffer) {
completer.complete(buffer);
});
return completer.future;
}
Future loadAsync(url) async {
Completer completer = Completer();
load(url, (buffer) {
completer.complete(buffer);
});
return completer.future;
}