kReleaseMode top-level constant Null safety
A constant that is true if the application was compiled in release mode.
More specifically, this is a constant that is true if the application was compiled in Dart with the '-Ddart.vm.product=true' flag.
Since this is a const value, it can be used to indicate to the compiler that a particular block of code will not be executed in release mode, and hence can be removed.
const bool kReleaseMode = bool.fromEnvironment('dart.vm.product', defaultValue: false);