isProduction property

bool get isProduction

Check if current environment is production.

Implementation

static bool get isProduction => _currentEnvironment?.id == 'prod';