Open devoncarew opened 8 months ago
We should remove nullability from ArgParser.addFlag({bool? defaultsTo = false}) - just support addFlag({bool defaultsTo = false}).
ArgParser.addFlag({bool? defaultsTo = false})
addFlag({bool defaultsTo = false})
For context: https://github.com/dart-lang/args/pull/248#issuecomment-2005002111.
This API change would be breaking.
We should remove nullability from
ArgParser.addFlag({bool? defaultsTo = false})
- just supportaddFlag({bool defaultsTo = false})
.For context: https://github.com/dart-lang/args/pull/248#issuecomment-2005002111.
This API change would be breaking.