loadAsync method

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

Implementation

@override
loadAsync(url) async {
  var loader = FileLoader(manager);
  loader.setPath(path);
  loader.setResponseType('arraybuffer');
  loader.setRequestHeader(requestHeader);
  loader.setWithCredentials(withCredentials);
  var buffer = await loader.loadAsync(url);

  return _parse(buffer);
}