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
deletedAt ↔ DateTime?
When set, the timestamp at which the deletion is asserted to have occurred. Emitted on the wire as :dAt:<millisecondsSinceEpoch>.
getter/setter pair
force ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
noCommit ↔ bool
When true, the server is asked not to write a commit-log entry for this delete. Emitted on the wire as the :nc flag.
getter/setter pair
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