isMobile property

bool get isMobile

Indicates whether device is running on a mobile OS.

Implementation

bool get isMobile => GetPlatform.isIOS || GetPlatform.isAndroid;