trashItem method
Implementation
Future<void> trashItem(String uuid, String type) async {
await cache.clearParentCache(uuid, type, api, crypto, masterKeys);
final endpoint = type == 'folder' ? '/v3/dir/trash' : '/v3/file/trash';
await api.post(endpoint, {'uuid': uuid});
cache.clearPathCache();
}