DeleteVerbBuilder class

Delete verb builder generates a command to delete a atKey from the secondary server.

// @bob deleting a public phone key
   var deleteBuilder = DeleteVerbBuilder()..key = 'public:phone@bob';
// @bob deleting the key “phone” shared with @alice
   var deleteBuilder = DeleteVerbBuilder()..key = '@alice:phone@bob';
Implemented types

Constructors

DeleteVerbBuilder()

Properties

atKey String?
The key to delete
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isCached bool
getter/setter pair
isPublic bool
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 llookup has to be executed.
getter/setter pair
sharedWith String?
atSign of the secondary server for whom atKey is shared
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

Static Methods

getBuilder(String command) DeleteVerbBuilder
Returns a builder instance from a delete command