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