kIsWeb top-level constant

bool const kIsWeb

A constant that is true if the application was compiled to run on the web.

See also:

Implementation

const bool kIsWeb = bool.fromEnvironment('dart.library.js_util');