CommandGroupBuilder class final
Constructors
- CommandGroupBuilder()
- CommandGroupBuilder.fromJson(Map json)
-
factory
Properties
-
commands
→ List<
SubCommandBuilder> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addSubCommand(
void command(SubCommandBuilder)) → CommandGroupBuilder -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDescription(
String description, {Translation? translation}) → CommandGroupBuilder -
setName(
String name, {Translation? translation}) → CommandGroupBuilder -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited