inTest property Null safety

  1. @override
bool inTest
override

Whether there is currently a test executing.

Implementation

@override
bool get inTest => _currentFakeAsync != null;