getUrl method

Generates a downloadable url for the object specified by key with StorageGetUrlOptions, and returns a StorageGetUrlOperation.

The url is presigned by the aws_signature_v4, and is enforced with scheme https.

Implementation

StorageGetUrlOperation getUrl({
  required String key,
  StorageGetUrlOptions? options,
}) {
  return identifyCall(
    StorageCategoryMethod.getUrl,
    () => defaultPlugin.getUrl(
      key: key,
      options: options,
    ),
  );
}