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
Properties
- atKey ↔ String?
-
The key to delete
getter/setter pair
- atKeyObj ↔ AtKey
-
Represents the AtKey instance to populate the verb builder data
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCached ↔ bool
-
getter/setter pair
- isLocal ↔ bool
-
Indicates if the key is local
If the key is local, the key does not sync between cloud and local secondary
getter/setter pair
- isPublic ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
atSign of the secondary server on which llookup has to be executed.
getter/setter pair
-
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
-
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