deleteFile method
Deletes the file or directory at the specified path
.
Implementation
@override
Future<void> deleteFile(String path) {
return _executeRequest(() async {
final file = await _getFileByPath(path);
if (file != null && file.id != null) {
await driveApi.files.delete(file.id!);
}
});
}