isProductionMode abstract method

bool isProductionMode()

Returns true if the application is running in production mode.

Example:

if (env.isProductionMode()) {
  print('Production environment');
}

Implementation

bool isProductionMode();