inProduction top-level constant
bool
const inProduction
是否资源版本 判断正式与测试
Implementation
const bool inProduction = bool.fromEnvironment("dart.vm.product");
是否资源版本 判断正式与测试
const bool inProduction = bool.fromEnvironment("dart.vm.product");