parent property

Command? get parent
inherited

The command's parent command, if this is a subcommand.

This will be null until addSubcommand has been called with this command.

Implementation

Command<T>? get parent => _parent;