fileExists method
Checks if a file exists in cloud storage.
Implementation
Future<bool> fileExists({
required String storageId,
required String path,
}) async {
var storage = _session.server.serverpod.storage[storageId];
if (storage == null) {
throw CloudStorageException('Storage $storageId is not registered');
}
return await storage.fileExists(session: _session, path: path);
}