loadAsync method

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

Implementation

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

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

  return completer.future;
}