WriteOptions constructor

const WriteOptions({
  1. bool? encrypt,
  2. Object? encryptionKey,
  3. String? contentType,
  4. Map<String, String> metadata = const {},
  5. void onProgress(
    1. int bytesWritten,
    2. int? totalBytes
    )?,
})

Defaults: defer encryption to the backend policy, no content type, no metadata, no progress reporting.

Implementation

const WriteOptions({
  this.encrypt,
  this.encryptionKey,
  this.contentType,
  this.metadata = const {},
  this.onProgress,
});