isDesktop property

bool get isDesktop

If the current device is a Desktop.

Implementation

static bool get isDesktop => getDeviceType() == TDeviceType.desktop;