getProperties method

Retrieves properties of the object specified by key with optional StorageGetPropertiesOptions. And returns a StorageGetPropertiesOperation.

The result may include the metadata (if any) specified when the object was uploaded.

Implementation

StorageGetPropertiesOperation getProperties({
  required String key,
  StorageGetPropertiesOptions? options,
}) {
  return identifyCall(
    StorageCategoryMethod.getProperties,
    () => defaultPlugin.getProperties(
      key: key,
      options: options,
    ),
  );
}