load method
dynamic
load(])
override
Implementation
@override
load(url, Function onLoad, [Function? onProgress, Function? onError]) async {
var loader = FileLoader(manager);
loader.setPath(path);
loader.setResponseType('text');
final data = await loader.load(url, (text) {
// try {
onLoad(parse(text));
// } catch ( e ) {
// if ( onError != null ) {
// onError( e );
// } else {
// print( e );
// }
// this.manager.itemError( url );
// }
}, onProgress, onError);
return data;
}