feature library

Information about the runtime environment.

Constants

isJavaScript → const bool
True, if the code is running in JavaScript.
isWasm → const bool
True, if the code is running in WASM.
safeIntegerBits → const int
The safe bits of an int value. In the Dart VM integer are represented using 63 bits, in JavaScript we only have 53.

Properties

hasAssertionsEnabled → bool
True, if the code has assertions enabled.
final
maxSafeInteger → int
The maximum safe value of an int.
final
minSafeInteger → int
The minimum safe value of an int.
final