testMode top-level property
read / write
Whether we are currently running tests
Implementation
bool testMode = Platform.environment.containsKey('FLUTTER_TEST');
Whether we are currently running tests
bool testMode = Platform.environment.containsKey('FLUTTER_TEST');