wasParsed method

  1. @override
bool wasParsed(
  1. String name
)

Returns true if the option with name was parsed from an actual argument.

Returns false if it wasn't provided and the default value or no default value would be used instead.

name must be a valid option name in the parser.

Implementation

@override
bool wasParsed(String name) => _argResults.wasParsed(name);