inDebugMode property

bool get inDebugMode

Determines if running in an IDE or in production.

Implementation

static bool get inDebugMode {
  var inDebugMode = false;
  // assert is removed in production.
  assert(inDebugMode = true);
  return inDebugMode;
}