update method
Updates the metadata (description, tags) of a file in a storage bucket.
Implementation
Future<BucketFile> update({
required String bucket,
required String key,
String? description,
List<String>? tags,
}) => http
.request('${_config.serviceUrl}/data/$bucket/$key')
.use(http.context(_config))
.use(http.access())
.put({'description': description, 'tags': tags})
.json((json) => BucketFile.fromJson(json));