isMobile top-level property
bool
get
isMobile
Implementation
@pragma('vm:platform-const-if', !kDebugMode)
bool get isMobile =>
defaultTargetPlatform == TargetPlatform.iOS || defaultTargetPlatform == TargetPlatform.android;