LookupVerbBuilder class

Lookup verb builder generates a command to lookup atKey on either the client user's secondary server(without authentication) or secondary server of sharedBy (with authentication). Assume @bob is the client atSign. @alice is atSign on another secondary server. e.g if you want to lookup @bob:phone@alice on alice's secondary, user this builder to lookup value of phone@alice from bob's secondary. Auth has to be true.

var builder = LookupVerbBuilder()..key=’phone’..atSign=’alice’..auth=true;

e.g if you want to lookup public key on bob's secondary without auth from bob's client.

var builder = LookupVerbBuilder()..key=’phone’..atSign=’bob’;
Implemented types

Constructors

LookupVerbBuilder()

Properties

atKey String?
the key of atKey to lookup. atKey should not have private access.
getter/setter pair
auth bool
Flag to specify whether to run this builder with or without auth.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
operation String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharedBy String?
atSign of the secondary server on which lookup has to be executed.
getter/setter pair

Methods

buildCommand() String
Build the @ command to be sent to remote secondary for execution.
override
checkParams() bool
Checks whether all params required by the verb builder are set. Returns false if required params are not set.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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