deleteFile method
Deletes the file or directory at the specified path
.
Implementation
@override
Future<void> deleteFile(String path) {
return _executeRequest(
() async {
final response = await client.deleteFile(path,
isAppFolder:
MultiCloudStorage.cloudAccess == CloudAccessType.appStorage);
if (response.message?.contains('SocketException') ?? false) {
throw NoConnectionException(response.message ?? response.toString());
}
},
operation: 'deleteFile at $path',
);
}