isEnvProduction static method

bool isEnvProduction()

Check if the app is in production

Implementation

static bool isEnvProduction() {
  return getEnv('APP_ENV') == 'production';
}