StorageMetadata constructor

const StorageMetadata({
  1. required Map<String, Object?> raw,
  2. String? bucket,
  3. String? name,
  4. String? path,
  5. String? contentType,
  6. String? cacheControl,
  7. String? contentDisposition,
  8. String? contentEncoding,
  9. String? contentLanguage,
  10. String? md5Hash,
  11. int sizeBytes = 0,
  12. DateTime? creationTime,
  13. DateTime? updatedTime,
  14. int generation = 0,
  15. int metadataGeneration = 0,
  16. 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 {},
});