supportsWeb property
bool
get
supportsWeb
True when the web platform targets the WASM (Emscripten C++) backend.
Implementation
bool get supportsWeb => RegExp(
r'\bweb\s*:\s*(?:NativeImpl|WebNativeImpl)\.wasm\b',
).hasMatch(_annotation);