isNegateable property Null safety

bool? isNegateable
final

Can the flag be prefixed with 'no'?

This will only make sense on boolean properties that have a default to true.

@Parameter(isNegateable: true)
bool verbose = true;

On the command line, one can:

Command LineResult
emptyverbose will be true
--verboseverbose will be true
--no-verboseverbose will be false

Implementation

final bool? isNegateable;