WriteOptions.encrypted constructor

const WriteOptions.encrypted({
  1. String? contentType,
  2. Map<String, String> metadata = const {},
  3. void onProgress(
    1. int bytesWritten,
    2. int? totalBytes
    )?,
})

Write encrypted — explicitly request encryption with resolved key.

Implementation

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