isMobile property

bool get isMobile

Returns true if deviceType is DeviceType.mobile.

Implementation

bool get isMobile => deviceType == DeviceType.mobile;