postTest method

  1. @override
void postTest ()
override

Called by the testWidgets function after a test is executed.

Implementation

@override
void postTest() {
  super.postTest();
  assert(_currentFakeAsync != null);
  assert(_clock != null);
  _clock = null;
  _currentFakeAsync = null;
  _timeoutCompleter = null;
  _timeoutTimer?.cancel();
  _timeoutTimer = null;
  _timeoutStopwatch = null;
  _timeout = null;
}