closed property
bool
get
closed
Whether the test has been closed.
Once the test is closed, expect and expectAsync will throw
ClosedExceptions whenever accessed to help the test stop executing as
soon as possible.
Implementation
bool get closed => !_forceOpen && _onCloseCompleter.isCompleted;