SettableMetadata class

Object metadata that can be set at any time.

See: firebase.google.com/docs/reference/js/firebase.storage.SettableMetadata.

Constructors

SettableMetadata({String? cacheControl, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, Map? customMetadata})
Creates a new SettableMetadata with optional metadata parameters.
factory
SettableMetadata.fromJsObject(SettableMetadataJsImpl jsObject)
Creates a new SettableMetadata from a jsObject.

Properties

cacheControl String
Served as the 'Cache-Control' header on object download.
getter/setter pairinherited
contentDisposition String
Served as the 'Content-Disposition' header on object download.
getter/setter pairinherited
contentEncoding String
Served as the 'Content-Encoding' header on object download.
getter/setter pairinherited
contentLanguage String
Served as the 'Content-Language' header on object download.
getter/setter pairinherited
contentType String
Served as the 'Content-Type' header on object download.
getter/setter pairinherited
customMetadata Map<String, String>?
Additional user-defined custom metadata.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
jsObject → SettableMetadataJsImpl
JS object.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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