parent property Null safety
The parent of this child.
Once a parent is added to a group, that group is considered to be this child's parent and this child cannot be added to any more groups. Attempting to do so will result in a CommandsError.
Implementation
ICommandGroup<IContext>? get parent;
Set the parent of this child. Should not be used unless you are implementing your own command group.
Implementation
set parent(ICommandGroup<IContext>? parent);