isDesktop property
Returns true if the current platform is a desktop platform (Windows, macOS, or Linux).
Implementation
static bool get isDesktop => isWindows || isMacOS || isLinux;
Returns true if the current platform is a desktop platform (Windows, macOS, or Linux).
static bool get isDesktop => isWindows || isMacOS || isLinux;