parent property Null safety

Command<T>? parent

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;