foundation library Null safety

Constants

kDebugMode → const bool
A constant that is true if the application was compiled in debug mode. [...]
!kReleaseMode && !kProfileMode
kProfileMode → const bool
A constant that is true if the application was compiled in profile mode. [...]
bool.fromEnvironment('dart.vm.profile', defaultValue: false)
kReleaseMode → const bool
A constant that is true if the application was compiled in release mode. [...]
bool.fromEnvironment('dart.vm.product', defaultValue: false)