parent property

  1. @override
BetterCommand<OptionDefinition, void>? 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

@override
BetterCommand<OptionDefinition, T>? get parent =>
    super.parent as BetterCommand<OptionDefinition, T>?;