isMobile property

bool get isMobile

Check if platform is mobile

Implementation

bool get isMobile => this == Platform.ios || this == Platform.android;