MoleDataEntry class
A single stored key/value pair in a storage source.
value is the raw value exactly as stored. isSensitive marks the value as sensitive (e.g. Secure Storage), which makes Mole mask it by default in-app and reveal it only via explicit tap-to-reveal.
Constructors
- MoleDataEntry({required String key, dynamic value, String sourceType = 'unknown', bool isSensitive = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSensitive → bool
-
Whether this value must be masked by default in the UI.
final
- key → String
-
The key of the stored value.
final
- preview → String
-
Human-friendly preview used for list rows.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceType → String
-
Machine identifier of the source type:
prefs|hive|secure|isar.final - value → dynamic
-
The raw stored value.
nullentries are still real keys.final
Methods
-
matches(
String query) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited