ObjectMetadata class abstract

Access to object metadata.

Constructors

ObjectMetadata({Acl? acl, String? contentType, String? contentEncoding, String? cacheControl, String? contentDisposition, String? contentLanguage, Map<String, String>? custom})
factory

Properties

acl → Acl?
ACL.
no setter
cacheControl → String?
Cache-Control for this object.
no setter
contentDisposition → String?
Content-Disposition for this object.
no setter
contentEncoding → String?
Content-Encoding for this object.
no setter
contentLanguage → String?
Content-Language for this object.
no setter
contentType → String?
Content-Type for this object.
no setter
custom → Map<String, String>?
Custom metadata.
no setter
hashCode → int
The hash code for this object.
no setterinherited
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
replace({Acl? acl, String? contentType, String? contentEncoding, String? cacheControl, String? contentDisposition, String? contentLanguage, Map<String, String>? custom}) → ObjectMetadata
Create a copy of this object with some values replaced.
toString() → String
A string representation of this object.
inherited

Operators

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