isDesktopOrLaptop static method

bool isDesktopOrLaptop()

Returns whether the OS is either Windows, macOS or Linux.

Implementation

static bool isDesktopOrLaptop() =>
    Platform.isMacOS || Platform.isWindows || Platform.isLinux;