UploadMetadata class

Object metadata that can be set at upload.

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

Constructors

UploadMetadata({String? md5Hash, String? cacheControl, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, Map<String, String>? customMetadata})
Creates a new UploadMetadata with optional metadata parameters.
factory
UploadMetadata.fromJsObject(UploadMetadataJsImpl jsObject)
Creates a new UploadMetadata 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 → UploadMetadataJsImpl
JS object.
finalinherited
md5Hash String
The Base64-encoded MD5 hash for the object being uploaded.
getter/setter pairinherited
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