isProduction property

bool get isProduction

Check if current environment is production

Implementation

bool get isProduction => this == Environment.production;