I got a bunch of tests and debug stuff in my Dart application and I would like to make sure these kind of things are disabled when I build a release version with pub.
Is there any constant or some other way to check if the current running version of the application is a release build or not?
Example:
if (!IS_BUILD) {
performAutomatedDummyLogin()
} else {
login();
}