isMobile property

bool get isMobile

isWeb || isAndroidNative || isIOSNative

Useful for knowing if things like Firebase can be used

Implementation

bool get isMobile => isWeb || isAndroidNative || isIOSNative;