loadAsync method

  1. @override
dynamic loadAsync(
  1. dynamic url
)
override

Implementation

@override
loadAsync(url) async {
  var completer = Completer();

  load(url, (buffer) {
    completer.complete(buffer);
  });

  return completer.future;
}