loadAsync method

  1. @override
Future loadAsync(
  1. dynamic url, [
  2. dynamic onProgress
])
override

Implementation

@override
Future loadAsync(url, [onProgress]) async {
  var completer = Completer();

  load(url, (result) {
    completer.complete(result);
  }, onProgress, () {});

  return completer.future;
}