isDebug top-level property

bool get isDebug

Check whether running in debug mode

Implementation

bool get isDebug => !isRelease;