StorageMetadata constructor
const
StorageMetadata({
- required Map<
String, Object?> raw, - String? bucket,
- String? name,
- String? path,
- String? contentType,
- String? cacheControl,
- String? contentDisposition,
- String? contentEncoding,
- String? contentLanguage,
- String? md5Hash,
- int sizeBytes = 0,
- DateTime? creationTime,
- DateTime? updatedTime,
- int generation = 0,
- int metadataGeneration = 0,
- Map<
String, String> custom = const {},
Implementation
const StorageMetadata({
required this.raw,
this.bucket,
this.name,
this.path,
this.contentType,
this.cacheControl,
this.contentDisposition,
this.contentEncoding,
this.contentLanguage,
this.md5Hash,
this.sizeBytes = 0,
this.creationTime,
this.updatedTime,
this.generation = 0,
this.metadataGeneration = 0,
this.custom = const {},
});