registerChild method Null safety
- @Deprecated('Use addCommand() instead')
- GroupMixin child
@Deprecated('Use addCommand() instead')
Add a child to this group.
If any of its name or aliases confict with already registered commands, a CommandRegistrationError is thrown.
If child
already has a parent, an CommandRegistrationError is thrown.
Implementation
@Deprecated('Use addCommand() instead')
void registerChild(GroupMixin child) => addCommand(child);