isTestContext property

bool get isTestContext

True if we are inside a running test.

Implementation

bool get isTestContext {
  return requiresTestData;
}