isProduction method

bool isProduction()

Checks if the current host environment name is Environments.production.

Implementation

bool isProduction() => isEnvironment(Environments.production);