AmplifySecureStorageDartMixin mixin

A mixin that implements the SecureStorageInterface for the target platform.

Intended to be used in flutter packages like so

class AmplifySecureStorageWebPlugin extends AmplifySecureStoragePlatform
    with AmplifySecureStorageDartMixin { ... }
Superclass Constraints
Implemented types
Mixin Applications

Properties

config AmplifySecureStorageConfig
Configuration options for Secure Storage.
finalinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
logger → AWSLogger
The logger for this class.
no setterinherited

Methods

delete({required String key}) FutureOr<void>
Remove a key/value pair from storage.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read({required String key}) FutureOr<String?>
Read the value of a given key.
override
removeAll() FutureOr<void>
Removes all key-value pairs for the current scope.
override
toString() String
A string representation of this object.
inherited
write({required String key, required String value}) FutureOr<void>
Write a key-value pair to storage.
override

Operators

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