Skip to content

FileMetadata

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

Not used by this package; FileStorageReference.upload takes a plain Map<String, String> instead.

Constructors

FileMetadata

FileMetadata({
  1. String? cacheControl,
  2. String? contentDisposition,
  3. String? contentEncoding,
  4. String? contentLanguage,
  5. String? contentType,
  6. Map<String, String>? customMetadata,
})

Properties

cacheControl

String? cacheControl
final

The Cache Control setting of the FileStorageReference.

carpServiceName

String? carpServiceName
final

The owning CARP Web Service name the FileStorageReference.

contentDisposition

String? contentDisposition
final

The content disposition of the FileStorageReference.

contentEncoding

String? contentEncoding
final

The content encoding for the FileStorageReference.

contentLanguage

String? contentLanguage
final

The content language for the StorageReference, specified as a 2-letter lowercase language code defined by ISO 639-1.

contentType

String? contentType
final

The content type (MIME type) of the FileStorageReference.

creationTimeMillis

int? creationTimeMillis
final

The time the FileStorageReference was created in milliseconds since the epoch.

customMetadata

Map<String, String>? customMetadata
final

An unmodifiable map with custom metadata for the FileStorageReference.

md5Hash

String? md5Hash
final

The MD5Hash of the FileStorageReference object.

name

String? name
final

A simple name of the FileStorageReference object.

path

String? path
final

The path of the FileStorageReference object.

sizeBytes

int? sizeBytes
final

The stored Size in bytes of the FileStorageReference object.

updatedTimeMillis

int? updatedTimeMillis
final

The time the FileStorageReference was last updated in milliseconds since the epoch.