isProduction property

bool get isProduction

是否为生产环境

Implementation

static bool get isProduction => currentEnvironment == Environment.production;