isDesktop property

bool get isDesktop

True on macOS, Windows or Linux apps.

Implementation

static bool get isDesktop => isMacOs || isWindows || isLinux;