isLinuxWeb function

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

Implementation

bool isLinuxWeb([PlatformDetector? detector]) =>
    (detector?.name ?? PlatformDetector.platform.name) ==
    PlatformName.web_linux;