isWindowsWeb function

bool isWindowsWeb([
  1. PlatformDetector? detector
])
  • isWindowsWeb : true if the current platform is Web on Windows.

Implementation

bool isWindowsWeb([PlatformDetector? detector]) =>
    (detector?.name ?? PlatformDetector.platform.name) ==
    PlatformName.web_windows;