MoleSecureStorageSource class

Adapts an existing FlutterSecureStorage instance for inspection.

All entries are flagged MoleDataEntry.isSensitive and masked by default in-app. Tap-to-reveal is handled by the UI layer.

flutter_secure_storage offers no change notifications, so the stream refreshes when Mole itself mutates the store, and on registration.

Implemented types

Constructors

MoleSecureStorageSource(FlutterSecureStorage storage)
Wraps an existing FlutterSecureStorage instance for Mole inspection.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Display name, e.g. "SharedPreferences".
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage → FlutterSecureStorage
final
type String
Stable machine identifier: prefs | hive | secure | isar.
no setteroverride

Methods

clearAll() Future<void>
Clears all values in this source.
override
deleteValue(String key) Future<void>
Deletes a single key. No-op when key does not exist.
override
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(String key, dynamic value) Future<void>
Writes value under key.
override
toString() String
A string representation of this object.
inherited
watch() Stream<List<MoleDataEntry>>
Live snapshot stream of all entries in this source.
override

Operators

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