VaultEntry.loaded constructor

VaultEntry.loaded(
  1. String key,
  2. DateTime creationTime,
  3. dynamic value, {
  4. DateTime? accessTime,
  5. DateTime? updateTime,
})

Creates a loaded VaultEntry

  • key: The vault key
  • creationTime: The vault creation time
  • value: The vault value
  • accessTime: The vault access time
  • updateTime: The vault update time

Implementation

VaultEntry.loaded(String key, DateTime creationTime, dynamic value,
    {DateTime? accessTime, DateTime? updateTime})
    : this._(
          VaultInfo(key, creationTime,
              accessTime: accessTime, updateTime: updateTime),
          value,
          EntryState.loaded);