updateMetadata method

Future<FullMetadata> updateMetadata({
  1. required String path,
  2. required SettableMetadata metadata,
})

Updates only the metadata of the file at path without re-uploading the file itself.

Throws FirebaseException if the file does not exist.

Implementation

Future<FullMetadata> updateMetadata({
  required String path,
  required SettableMetadata metadata,
}) async => await _ref(path).updateMetadata(metadata);