cwtch-ui/lib/config.dart

13 lines
362 B
Dart
Raw Normal View History

2021-06-24 23:10:45 +00:00
const dev_version = "development";
class EnvironmentConfig {
static const BUILD_VER = String.fromEnvironment('BUILD_VER', defaultValue: dev_version);
static const BUILD_DATE = String.fromEnvironment('BUILD_DATE', defaultValue: "now");
2021-06-25 05:30:46 +00:00
static void debugLog(String log) {
if (EnvironmentConfig.BUILD_VER == dev_version) {
print(log);
}
}
2021-06-24 23:10:45 +00:00
}