withParent method
Returns a copy of this command with the provided parent assigned.
Implementation
NatrixCommand withParent([final NatrixCommand? parent]) =>
NatrixCommand._internal(
parent: parent,
id: id,
tooltip: _tooltip,
argumentTip: argumentTip,
description: description,
hidden: hidden,
inheritFlags: inheritFlags,
flags: flags,
children: children,
callback: callback,
);