We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c926f64 commit b6e79b6Copy full SHA for b6e79b6
1 file changed
test/utils/matchers.dart
@@ -73,7 +73,7 @@ Matcher isToString({String? name, String? generic, Iterable<String>? rest}) =>
73
stringContainsInOrder([
74
if (name != null && hasAssertionsEnabled()) name,
75
if (generic != null && hasAssertionsEnabled()) generic,
76
- if (rest != null) ...rest,
+ ...?rest,
77
]),
78
);
79
0 commit comments