delete method
Delete a file using the url returned by the APIs Usage:
await files.delete('fileUrl');
Parameters:
url
: the url of the file you want to delete API docs: delete
Implementation
Future<void> delete(String url) {
final token =
userToken ?? TokenHelper.buildFilesToken(secret!, TokenAction.delete);
return _files.delete(token, url);
}