We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0081a09 commit 3dd85dcCopy full SHA for 3dd85dc
lib/src/matchers.dart
@@ -27,7 +27,7 @@ Matcher isRoute<T extends Object?>({
27
}) {
28
// Remove once `named` argument is removed.
29
if (whereName == null && named != null) {
30
- // Nullable parameter so assignment is OK
+ // Reassigning it to the parameter to make the code flow nicer.
31
// ignore: parameter_assignments
32
whereName = equals(named);
33
}
0 commit comments