mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user