inDebugMode property

bool get inDebugMode
inherited

Determines if running in an IDE or in production. Returns true if the App is under in the Debugger and not production.

Implementation

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