Prefer void to null (#22977)
* Future<void> main * Future<void>.delayed * prefer_void_to_Null * address review comments
This commit is contained in:
committed by
GitHub
parent
5efe095895
commit
0fb84e96c7
@@ -300,7 +300,7 @@ class WidgetTester extends WidgetController implements HitTestDispatcher, Ticker
|
||||
await binding.pump(duration, phase);
|
||||
count += 1;
|
||||
} while (binding.hasScheduledFrame);
|
||||
}).then<int>((void _) => count);
|
||||
}).then<int>((_) => count);
|
||||
}
|
||||
|
||||
/// Runs a [callback] that performs real asynchronous work.
|
||||
|
||||
Reference in New Issue
Block a user