kIsWasm top-level constant
bool
const kIsWasm
A constant that is true if the application was compiled to WebAssembly.
Implementation
const bool kIsWasm = bool.fromEnvironment('dart.tool.dart2wasm');