inFlutterTest property
bool
get
inFlutterTest
Indicate if running under a 'Flutter Test' environment
Implementation
static bool get inFlutterTest =>
_inFlutterTest ??= Platform.environment.containsKey('FLUTTER_TEST');