FileMetadata class

Metadata for a FileStorageReference. Metadata stores default attributes such as size and content type. Also allow for storing custom metadata.

Constructors

FileMetadata({String? cacheControl, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, Map<String, String>? customMetadata})

Properties

cacheControl String?
The Cache Control setting of the FileStorageReference.
final
carpServiceName String?
The owning CARP Web Service name the FileStorageReference.
final
contentDisposition String?
The content disposition of the FileStorageReference.
final
contentEncoding String?
The content encoding for the FileStorageReference.
final
contentLanguage String?
The content language for the StorageReference, specified as a 2-letter lowercase language code defined by ISO 639-1.
final
contentType String?
The content type (MIME type) of the FileStorageReference.
final
creationTimeMillis int?
The time the FileStorageReference was created in milliseconds since the epoch.
final
customMetadata Map<String, String>?
An unmodifiable map with custom metadata for the FileStorageReference.
final
hashCode int
The hash code for this object.
no setterinherited
md5Hash String?
The MD5Hash of the FileStorageReference object.
final
name String?
A simple name of the FileStorageReference object.
final
path String?
The path of the FileStorageReference object.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes int?
The stored Size in bytes of the FileStorageReference object.
final
updatedTimeMillis int?
The time the FileStorageReference was last updated in milliseconds since the epoch.
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