isWeb static method
Implementation
static bool isWeb() {
if (kIsWeb != null) {
return kIsWeb!;
}
try {
kIsWeb = bool.fromEnvironment('dart.library.js_util');
} catch (e) {
kIsWeb = false;
}
return kIsWeb!;
}
static bool isWeb() {
if (kIsWeb != null) {
return kIsWeb!;
}
try {
kIsWeb = bool.fromEnvironment('dart.library.js_util');
} catch (e) {
kIsWeb = false;
}
return kIsWeb!;
}