CommandGroup<T extends CommandContext> class abstract

An entity capable of having multiple child entities.

You might also be interested in:

Implemented types
Implementers

Constructors

CommandGroup()

Properties

checks Iterable<AbstractCheck>
The checks that should be applied to this entity.
no setterinherited
children Iterable<CommandRegisterable<T>>
A list of all the children of this group
no setter
hashCode int
The hash code for this object.
no setterinherited
onPostCall Stream<T>
A stream that emits contexts after the command callback is executed.
no setterinherited
onPreCall Stream<T>
A stream that emits contexts before the command callback is executed.
no setterinherited
options CommandOptions
The options to use for this entity.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCommand(covariant CommandRegisterable<T> command) → void
Add a command to this group.
check(AbstractCheck check) → void
Add a check to this entity.
inherited
getCommand(StringView view) Command<T>?
Attempt to get a command from a string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
walkCommands() Iterable<Command<T>>
Returns an iterable that recursively iterates over all the Commands in this group.

Operators

operator ==(Object other) bool
The equality operator.
inherited