isDesktop static method

bool isDesktop()

Implementation

static bool isDesktop() {
  return Platform.isWindows ||
      Platform.isMacOS ||
      Platform.isLinux ||
      Platform.isFuchsia;
}