loadAsync method

dynamic loadAsync(
  1. dynamic url
)
override

Implementation

loadAsync(url) async {
  var scope = this;

  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);
}