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