isWeb function
- isWeb :
true
if the current platform type is Web.
Implementation
bool isWeb([PlatformDetector? detector]) =>
(detector?.type ?? PlatformDetector.platform.type) == PlatformType.web;
true
if the current platform type is Web.bool isWeb([PlatformDetector? detector]) =>
(detector?.type ?? PlatformDetector.platform.type) == PlatformType.web;