args
args copied to clipboard
remove nullability from `ArgParser.addFlag({bool? defaultsTo = false})`
We should remove nullability from ArgParser.addFlag({bool? defaultsTo = false})
- just support addFlag({bool defaultsTo = false})
.
For context: https://github.com/dart-lang/args/pull/248#issuecomment-2005002111.
This API change would be breaking.