ClientVersion class
An available 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 always describe a concrete update to apply.
- 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 update includes a security fix — apply 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