SecureStorage class
- Implemented types
Constructors
- SecureStorage.borrowed(int nativeHandle)
- Wraps a handle owned elsewhere; releasing it stays the owner's job.
- SecureStorage.fromHandle(int nativeHandle)
- Adopts a handle returned by the C API and releases it when this object becomes unreachable.
Properties
-
all
→ Map<
String, String> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keys
→ List<
String> -
no setter
- nativeHandle → int
-
The underlying handle-table entry.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
no setter
- size → int
-
no setter
Methods
-
clear(
) → bool -
contains(
String key) → bool -
dispose(
) → void - Releases the handle now instead of at collection.
-
get(
String key, String defaultValue) → String? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String key) → bool -
set(
String key, String value) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
) → SecureStorage? -
Creates a new
SecureStorage; returns null if the native side failed. -
createWithScope(
String scope) → SecureStorage? -
Creates a new
SecureStorage; returns null if the native side failed. -
isAvailable(
) → bool