argParser property Null safety

ArgParser argParser

The top-level argument parser.

Global options should be registered with this parser; they'll end up available via Command.globalResults. Commands should be registered with addCommand rather than directly on the parser.

Implementation

ArgParser get argParser => _argParser;