Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

514 B
Raw Blame
import 'desktop_updater.dart';

/// Result of a user-initiated check. A manually checked version remains
/// installable even when the user skipped its background notification earlier.
class ManualUpdateCheck {
  final DesktopUpdateCheck check;
  final bool isSkipped;

  const ManualUpdateCheck({required this.check, this.isSkipped = false});

  UpdateInfo? get update => check.update;
  DesktopUpdateCheckStatus get status => check.status;
  bool get isUpToDate => status == DesktopUpdateCheckStatus.upToDate;
}