getObjectUrl method
Retrieves a URL for downloading an object.
This method fetches a pre-signed URL for downloading an object from the specified storage location.
Parameters:
objectId
: The ID of the object to download.
Returns:
- A Future that completes with an ObjectUrlResponse containing the object URL and other metadata.
Implementation
Future<ObjectUrlResponse> getObjectUrl(String objectId) async =>
await _client.getObjectUrl(
GetObjectUrlRequest(objectId: objectId),
options: await _fetchOptions(),
);