CommandExecutor<COMMAND extends Command<RESPONSE> , RESPONSE extends Object?> class
Contains a list of commands in a factory and executes them on demand.
Constructors
-
CommandExecutor(CommandFactory<
COMMAND, RESPONSE> factory) -
const
-
CommandExecutor.fromBuilders(Map<
Type, CommandBuilder< builders)COMMAND> >
Properties
-
factory
→ CommandFactory<
COMMAND, RESPONSE> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
execute(
Type key) → RESPONSE -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited