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


LocalSecondary(AtClient _atClient, {SecondaryKeyStore? keyStore})


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


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.
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.


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