dataFromStorage static method
Help to get url to resource in server storage
Implementation
static String dataFromStorage(String path) {
if (ApiST.instance.storageUrl == null) {
throw EticonApiError(error: 'Storage url is null, set storageUrl in Api.init()');
} else {
return '${ApiST.instance.storageUrl}$path';
}
}