addCommand abstract method
- covariant CommandRegisterable<
T> command
Add a command to this group.
A command can be added to a group at most once; trying to do so will result in a CommandsError being thrown.
Implementation
void addCommand(covariant CommandRegisterable<T> command);