LocalSecondary class

Contains methods to execute verb on local secondary storage using executeVerb Set AtClientPreference.isLocalStoreRequired to true and other preferences that your app needs. Delete and Update commands will be synced to the server

Constructors

LocalSecondary(AtClient _atClient, {SecondaryKeyStore? keyStore})

Properties

hashCode int
The hash code for this object.
no setterinherited
keyStore ↔ SecondaryKeyStore?
Local keystore used to store data for the current atSign.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
telemetry AtTelemetryService?
getter/setter pair

Methods

executeVerb(VerbBuilder builder, {bool? sync}) Future<String?>
Executes a verb builder on the local secondary. For update and delete operation, if sync is set to true then data is synced from local to remote. if sync is set to false, no sync operation is done.
getEncryptionPrivateKey() Future<String?>
getEncryptionPublicKey(String atSign) Future<String?>
getEncryptionSelfKey() Future<String?>
getPrivateKey() Future<String?>
getPublicKey() Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putValue(String key, String value) Future<bool>
Returns true on successfully storing the values into local secondary.
toString() String
A string representation of this object.
inherited

Operators

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