isWasm property

bool isWasm

Whether we are running from a wasm module compiled with dart2wasm.

Implementation

bool get isWasm => !const bool.fromEnvironment('dart.library.html');