kIsWasm top-level constant

bool const kIsWasm

A constant that is true if the application was compiled to WebAssembly.

See also:

Implementation

const bool kIsWasm = bool.fromEnvironment('dart.tool.dart2wasm');