task property
Future<void>
get
task
A Future that completes when all tracked async operations have finished. Use this to await in-flight StatefulFuture work in tests.
Implementation
Future<void> get task => _futureTracker.future;