verifyDirectFileUpload method
Call this method after a file has been uploaded. It will return true if the file was successfully uploaded.
Implementation
Future<bool> verifyDirectFileUpload({
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.verifyDirectFileUpload(session: _session, path: path);
}