load method
dynamic
load(])
override
Implementation
@override
load(url, onLoad, [onProgress, onError]) {
var scope = this;
var loader = FileLoader(manager);
loader.setPath(path);
loader.setRequestHeader(requestHeader);
loader.setWithCredentials(withCredentials);
loader.load(url, (text) async {
// try {
onLoad(await scope.parse(text));
// } catch ( e ) {
// if ( onError != null ) {
// onError( e );
// } else {
// print( e );
// }
// scope.manager.itemError( url );
// }
}, onProgress, onError);
}