env_config.dart 245 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 class EnvConfig { static const String env = String.fromEnvironment('env', defaultValue: 'dev'); static const String version = String.fromEnvironment('version', defaultValue: '0.0.0'); static bool isDev() { return env == 'dev'; } }