Config class
Config verb is used for configuring or viewing an @sign's block/allow list. 'from' verb functionality is dertermined by using the configurations of 'config' verb.
The @sign should be authenticated using cram verb prior to use the 'config' verb.
configuration syntax: block:add/remove
:@sign list
.
view syntax: block:show.
Example:
1. config:block:add:@alice @bob //adds @alice, @bob into block list.
2. config:block:remove:@alice //removes @alice from block list.
3. config:block:show //displays block list @signs.
Constructors
- Config()
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
dependsOn(
) → Verb -
Returns name of the Verb this verb depends on
override
-
name(
) → String -
Returns name of the verb
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
requiresAuth(
) → bool -
Returns whether a verb requires authentication
override
-
syntax(
) → String -
Returns syntax of the verb in a regular expression format
override
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
usage(
) → String -
Returns a sample usage of the Verb
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited