CommandBuilder class final
Constructors
Properties
- context ↔ CommandContextType
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addOption<
T extends CommandOption> (T option) → CommandBuilder -
addSubCommand(
SubCommandBuilder command(SubCommandBuilder)) → CommandBuilder -
createGroup(
CommandGroupBuilder group(CommandGroupBuilder)) → CommandBuilder -
handle(
Function fn) → CommandBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reduceHandlers(
) → List< (String, Function)> -
setContext(
CommandContextType context) → CommandBuilder -
setDescription(
String description) → CommandBuilder -
setName(
String name) → CommandBuilder -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited