loadAsync method

Future loadAsync(
  1. dynamic url
)
override

Implementation

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

  return this._parse(buffer);
}