completes top-level property
final
Matches a Future that completes successfully with any value.
This creates an asynchronous expectation. The call to expect will return immediately and execution will continue. To wait for the future to complete and the expectation to run use expectLater and wait on the returned future.
To test that a Future completes with an exception, you can use throws and throwsA.
Implementation
final Matcher completes = const _Completes(null);