isDebugMode function

bool isDebugMode()

Determines if the application is running in debug mode.

This function is marked for inline optimization to improve performance in release builds.

Returns true if the app is running in debug mode, false otherwise.

Implementation

@pragma('vm:prefer-inline')
bool isDebugMode() {
  return !kReleaseMode;
}