FlutterSecureStoragePlatform class abstract

The interface that implementations of flutter_secure_storage must implement.

Platform implementations should extend this class rather than implement it as flutter_secure_storage does not consider newly added methods to be breaking changes. Extending this class (using extends) ensures that the subclass will get the default implementation, while platform implementations that implements this interface will be broken by newly added FlutterSecureStoragePlatform methods.

Inheritance
  • Object
  • PlatformInterface
  • FlutterSecureStoragePlatform
Implementers

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>
delete({required String key, required Map<String, String> options}) Future<void>
deleteAll({required Map<String, String> options}) Future<void>
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?>
readAll({required Map<String, String> options}) Future<Map<String, String>>
toString() String
A string representation of this object.
inherited
write({required String key, required String value, required Map<String, String> options}) Future<void>

Operators

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

Static Properties

instance FlutterSecureStoragePlatform
getter/setter pair