WriteOptions.encrypted constructor
const
WriteOptions.encrypted({})
Write encrypted — explicitly request encryption with resolved key.
Implementation
const WriteOptions.encrypted({
this.contentType,
this.metadata = const {},
this.onProgress,
}) : encrypt = true,
encryptionKey = null;