How can I check if a Flutter application is running in debug?

I’m looking for a way to execute code in Flutter when the app is in Debug mode. Is that possible in Flutter? I can’t seem to find it anywhere in the documentation. Something like this If(app.inDebugMode) { print(“Print only in debug mode”); } How can I check if the Flutter application is running in debug … Read more