FullMetadata class

Metadata for a Reference. Metadata stores default attributes such as size and content type.

Constructors

FullMetadata({String? bucket, required String fullPath, String? generation, String? md5Hash, String? metadataGeneration, String? metageneration, required String name, int? size, DateTime? timeCreated, DateTime? updated, String? cacheControl, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, Map<String, String>? customMetadata})

Properties

bucket String?
The bucket this object is contained in.
final
cacheControl String?
Served as the 'Cache-Control' header on object download.
final
contentDisposition String?
Served as the 'Content-Disposition' HTTP 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>?
Custom metadata set on this storage object.
final
fullPath String
The full path of this object.
final
generation String?
The object's generation.
final
hashCode int
The hash code for this object.
no setterinherited
md5Hash String?
A Base64-encoded MD5 hash of the object being uploaded.
final
metadataGeneration String?
The object's metadata generation.
final
metageneration String?
The object's metageneration.
final
name String
The short name of this object, which is the last component of the full path.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
The size of this object, in bytes.
final
timeCreated DateTime?
A DateTime representing when this object was created.
final
updated DateTime?
A DateTime representing when this object was updated.
final

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