WebOptions constructor
const
WebOptions({})
Creates an instance of WebOptions
with configurable parameters
for secure storage behavior on web platforms.
Parameters:
dbName
: The name of the database used for secure storage. Defaults to'FlutterEncryptedStorage'
.publicKey
: The public key used for encryption. Defaults to'FlutterSecureStorage'
.wrapKey
: The key used to wrap the encryption key.wrapKeyIv
: The initialization vector (IV) used for the wrap key.useSessionStorage
: Whether to use session storage instead of local storage. Defaults tofalse
.
Implementation
const WebOptions({
this.dbName = 'FlutterEncryptedStorage',
this.publicKey = 'FlutterSecureStorage',
this.wrapKey = '',
this.wrapKeyIv = '',
this.useSessionStorage = false,
});