uploadFile method
Implementation
Future uploadFile(ChalonaFile file) async {
var host = shareHosts[mainHost];
if (host == null) throw 'No ha definido el recurso $mainHost';
if (host is Http) {
return await host.uploadFile(file);
}
throw 'No ha definido el recurso $mainHost';
}