ICommandGroup<T extends IContext> class
Null safety
An entity capable of having multiple child entities.
You might also be interested in:
- ICommandRegisterable, the type that all children must implement;
- ICommand, the executable command type.
- Implemented types
- Implementers
Constructors
Properties
-
checks
→ Iterable<
AbstractCheck> -
The checks that should be applied to this entity.
read-onlyinherited
-
children
→ Iterable<
ICommandRegisterable< T> > -
A list of all the children of this group
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
onPostCall
→ Stream<
T> -
A stream that emits contexts after the command callback is executed.
read-onlyinherited
-
onPreCall
→ Stream<
T> -
A stream that emits contexts before the command callback is executed.
read-onlyinherited
- options → CommandOptions
-
The options to use for this entity.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
addCommand(
ICommandRegisterable< T> command) → void - Add a command to this group.
-
check(
AbstractCheck check) → void -
Add a check to this entity.
inherited
-
getCommand(
StringView view) → ICommand< T> ? - Attempt to get a command from a string.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
walkCommands(
) → Iterable< ICommand< T> > -
Returns an iterable that recursively iterates over all the
ICommand
s in this group.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited