isDesktop property

bool isDesktop

Implementation

bool get isDesktop {
  switch (this) {
    case TargetPlatform.windows:
    case TargetPlatform.macOS:
    case TargetPlatform.linux:
      return true;
    default:
      return false;
  }
}