VaultEntry class
The wrapper around the object that added to the vault
Constructors
- VaultEntry.loaded(String key, DateTime creationTime, dynamic value, {DateTime? accessTime, DateTime? updateTime})
- Creates a loaded VaultEntry
- VaultEntry.updated(VaultInfo info, dynamic value, DateTime updateTime)
- Creates an updated VaultEntry
Properties
- accessTime → DateTime
-
The access time getter
no setterinherited
- creationTime → DateTime
-
The creation time getter
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → VaultInfo
-
The info
finalinherited
- key → String
-
The key getter
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → EntryState
-
The state getter
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - updateTime → DateTime
-
The update time getter
no setterinherited
- value → dynamic
-
The value
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateInfo(
VaultInfo info) → void -
Updates a Entry info
inherited
-
updateInfoFields(
{DateTime? accessTime, DateTime? updateTime}) → void -
Updates the Info fields
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited