SettableMetadata class

Metadata that can be set on an upload.

This class allows setting various metadata fields for uploads.

Constructors

SettableMetadata({String? cacheControl, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, Map<String, String>? customMetadata})
Constructs a SettableMetadata instance.

Properties

cacheControl → String?
final
contentDisposition → String?
final
contentEncoding → String?
final
contentLanguage → String?
final
contentType ↔ String?
getter/setter pair
customMetadata → Map<String, String>?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMap() → Map<String, dynamic>
Converts this metadata to a map.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited