WebOptions class

Specific options for web platform.

Inheritance

Constructors

WebOptions.new({String dbName = 'FlutterEncryptedStorage', String publicKey = 'FlutterSecureStorage', String wrapKey = '', String wrapKeyIv = '', bool useSessionStorage = false})
Creates an instance of WebOptions with configurable parameters for secure storage behavior on web platforms.
const

Properties

dbName String
The name of the database used for secure storage. Defaults to 'FlutterEncryptedStorage'.
final
hashCode int
The hash code for this object.
no setterinherited
params Map<String, String>
A getter that retrieves the options as a map representation.
no setterinherited
publicKey String
The public key used for encryption. Defaults to 'FlutterSecureStorage'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useSessionStorage bool
Whether to use session storage instead of local storage. Defaults to false.
final
wrapKey String
The key used to wrap the encryption key.
final
wrapKeyIv String
The initialization vector (IV) used for the wrap key.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, String>
Converts the WebOptions instance into a map representation, including all web-specific properties.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

defaultOptions → const WebOptions
A predefined WebOptions instance with default settings.