ClientVersion class
An advisory upstream client-version update (result of Diag.checkUpdate).
Mirrors tailcfg.ClientVersion. Diag.checkUpdate returns null
when the node is already on the latest version, so the fields
here describe a newer native Tailscale version. The embedded runtime cannot
replace itself; callers update it by upgrading this Dart package or the host
application version that bundles it.
- Annotations
Constructors
- ClientVersion({required String latestVersion, required bool urgentSecurityUpdate, String? notifyText})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- latestVersion → String
-
The newer version available for this platform (e.g.
1.94.1).final - notifyText → String?
-
Optional human-readable notification text from the control
plane (when
Notifyis set upstream).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- urgentSecurityUpdate → bool
-
When true, the newer upstream version includes a security fix. Upgrade
the package or host application promptly.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override