isProductionMode abstract method
Returns true
if the application is running in production mode.
Example:
if (env.isProductionMode()) {
print('Production environment');
}
Implementation
bool isProductionMode();
Returns true
if the application is running in production mode.
Example:
if (env.isProductionMode()) {
print('Production environment');
}
bool isProductionMode();