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 AtKey
Represents the AtKey instance to populate the verb builder data
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildCommand() String
Build the @ command to be sent to remote secondary for execution.
override
buildKey() String
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
validateKey() → void
Validates the AtKey
inherited

Operators

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

Static Methods

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