FileAtKeysIo class

File-backed .atKeys storage.

Inheritance

Constructors

FileAtKeysIo({String filePath(String)?, String? passPhrase})

Properties

assurance → AtKeysAssurance
finalinherited
filePath ↔ String Function(String)?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
passPhrase ↔ String?
getter/setter pair
passphraseCodec → AtKeysPassphraseEnvelopeCodec
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

flush(Atsign atsign, AtKeys atKeys) → Future<void>
Persists atKeys as the complete new state for atsign.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String atsign) → Future<AtKeys>
override
toString() → String
A string representation of this object.
inherited
update(Atsign atsign, FutureOr<bool> mutate(AtKeys keys)) → Future<void>
Read, mutate and write inside one hold of the lock.
override
write(String atsign, AtKeys atKeys) → Future
Create-only initial persist (fresh onboard); implementations throw if the target already exists. Use flush to persist later mutations.
override

Operators

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

Constants

legacyShapeBackupSuffix → const String
The suffix _preserveLegacyShape writes the pre-upgrade document under.