getObjectUrl method

Future<ObjectUrlResponse> getObjectUrl(
  1. String objectId
)

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:

Implementation

Future<ObjectUrlResponse> getObjectUrl(String objectId) async =>
    await _client.getObjectUrl(
      GetObjectUrlRequest(objectId: objectId),
      options: await _fetchOptions(),
    );