This commit is contained in:
lollipopkit
2023-12-20 11:34:18 +08:00
parent eec13678a1
commit 6924290626
20 changed files with 104 additions and 105 deletions

View File

@@ -6,7 +6,7 @@ enum _BuildMode {
profile,
}
final _buildMode = (() {
final _buildMode = () {
if (const bool.fromEnvironment('dart.vm.product')) {
return _BuildMode.release;
}
@@ -16,7 +16,7 @@ final _buildMode = (() {
return true;
}());
return result;
}());
}();
class BuildMode {
static bool isDebug = (_buildMode == _BuildMode.debug);