| Index: pkg/args/lib/args.dart
|
| diff --git a/pkg/args/lib/args.dart b/pkg/args/lib/args.dart
|
| index 6bdcb7e9805e1e54f32ac3fc2ae11d8c44e29e98..304827b41ed4650f7d1b506c7f9a5240ac7d7ac0 100644
|
| --- a/pkg/args/lib/args.dart
|
| +++ b/pkg/args/lib/args.dart
|
| @@ -331,7 +331,7 @@ class ArgParser {
|
| * that abbreviation.
|
| */
|
| Option findByAbbreviation(String abbr) {
|
| - return options.values.firstMatching((option) => option.abbreviation == abbr,
|
| + return options.values.firstWhere((option) => option.abbreviation == abbr,
|
| orElse: () => null);
|
| }
|
| }
|
|
|