dvIsWeb top-level constant
bool
const dvIsWeb
True when running on the web.
On the web every number is a double, so 1 and 1.0 are the same object.
This is the standard Dart test for it and needs no platform import, which
matters here because dartvel_core is plain Dart with no dart:io.
Implementation
const bool dvIsWeb = identical(1, 1.0);