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