MethodChannelXSecureStore class
Production XSecureStore: ux/secure_store for commands.
- Implemented types
Constructors
- MethodChannelXSecureStore()
- Creates a store bound to the platform channel.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supported → bool
-
Whether this platform has a native store. Elsewhere every operation
throws XSecureStoreException with code
unsupported.no setteroverride
Methods
-
delete(
String key) → Future< void> -
Removes
key. Removing a key that holds nothing succeeds.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
The value stored under
key, ornullwhen the key holds nothing.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
Stores
valueunderkey, replacing any value already there.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited