isTest property

bool get isTest

Whether the current runtime is running under tests.

Implementation

static bool get isTest => current == LarkPlatform.test;