Use wildcards (#161548)

https://dart.dev/language/pattern-types#wildcard
This commit is contained in:
Michael Goderbauer
2025-01-13 21:13:41 -08:00
committed by GitHub
parent 1b0441c18a
commit 9cab4ffee1
51 changed files with 118 additions and 115 deletions

View File

@@ -295,7 +295,7 @@ static final String tokenBar = 'foo';
// Add to printLog instead of printing to stdout
void Function() overridePrint(void Function() testFn) => () {
final ZoneSpecification spec = ZoneSpecification(
print: (_, __, ___, String msg) {
print: (_, _, _, String msg) {
printLog.add(msg);
},
);