isWebOnWindows property

bool isWebOnWindows

Returns true if the operating system is Windows and running on Web platform.

Implementation

static bool get isWebOnWindows {
  if (!kIsWeb) {
    return false;
  }
  return _webPlatform.contains('windows') == true;
}