parent property Null safety

ICommandGroup<IContext>? parent

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;
void parent=(ICommandGroup<IContext>? 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);