FlutterSecureStorageWeb class

Web implementation of FlutterSecureStorage

Inheritance
  • Object
  • PlatformInterface
  • FlutterSecureStoragePlatform
  • FlutterSecureStorageWeb

Constructors

FlutterSecureStorageWeb()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

containsKey({required String key, required Map<String, String> options}) Future<bool>
Returns true if the storage contains the given key.
override
delete({required String key, required Map<String, String> options}) Future<void>
Deletes associated value for the given key.
override
deleteAll({required Map<String, String> options}) Future<void>
Deletes all keys with associated values.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read({required String key, required Map<String, String> options}) Future<String?>
Encrypts and saves the key with the given value.
override
readAll({required Map<String, String> options}) Future<Map<String, String>>
Decrypts and returns all keys with associated values.
override
toString() String
A string representation of this object.
inherited
write({required String key, required String value, required Map<String, String> options}) Future<void>
Encrypts and saves the key with the given value.
override

Operators

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

Static Methods

registerWith(Registrar registrar) → void
Registrar for FlutterSecureStorageWeb