FileMetadata constructor

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

Implementation

FileMetadata({
  this.cacheControl,
  this.contentDisposition,
  this.contentEncoding,
  this.contentLanguage,
  this.contentType,
  Map<String, String>? customMetadata,
})  : carpServiceName = null,
      path = null,
      name = null,
      sizeBytes = null,
      creationTimeMillis = null,
      updatedTimeMillis = null,
      md5Hash = null,
      customMetadata =
          (customMetadata == null) ? null : Map.unmodifiable(customMetadata);