FullMetadata constructor

FullMetadata({
  1. String? bucket,
  2. required String fullPath,
  3. String? generation,
  4. String? md5Hash,
  5. String? metadataGeneration,
  6. String? metageneration,
  7. required String name,
  8. int? size,
  9. DateTime? timeCreated,
  10. DateTime? updated,
  11. String? cacheControl,
  12. String? contentDisposition,
  13. String? contentEncoding,
  14. String? contentLanguage,
  15. String? contentType,
  16. Map<String, String>? customMetadata,
})

Implementation

FullMetadata({
  this.bucket,
  required this.fullPath,
  this.generation,
  this.md5Hash,
  this.metadataGeneration,
  this.metageneration,
  required this.name,
  this.size,
  this.timeCreated,
  this.updated,
  this.cacheControl,
  this.contentDisposition,
  this.contentEncoding,
  this.contentLanguage,
  this.contentType,
  Map<String, String>? customMetadata,
}) : customMetadata = customMetadata == null
          ? null
          : Map<String, String>.unmodifiable(customMetadata);