SettableMetadata class
The settable metadata a storage object reference can be set with.
Constructors
-
SettableMetadata.new({String? cacheControl, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, Map<
String, String> ? customMetadata}) - Creates a new SettableMetadata instance.
Properties
- cacheControl → String?
-
Served as the 'Cache-Control' header on object download.
final
- contentDisposition → String?
-
Served as the 'Content-Disposition' header on object download.
final
- contentEncoding → String?
-
Served as the 'Content-Encoding' header on object download.
final
- contentLanguage → String?
-
Served as the 'Content-Language' header on object download.
final
- contentType → String?
-
Served as the 'Content-Type' header on object download.
final
-
customMetadata
→ Map<
String, String> ? -
Additional user-defined custom metadata.
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> - Returns the settable metadata as 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