| Index: tools/testing/dart/vendored_pkg/args/args.dart
|
| diff --git a/tools/testing/dart/vendored_pkg/args/args.dart b/tools/testing/dart/vendored_pkg/args/args.dart
|
| index 29da1e262b840885b6d87c41474eec6aa6f0d418..32793ddfc45be591c3383322dfcbbf1f2230ba39 100644
|
| --- a/tools/testing/dart/vendored_pkg/args/args.dart
|
| +++ b/tools/testing/dart/vendored_pkg/args/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);
|
| }
|
| }
|
|
|