PrefsUpdate class
A multi-field atomic update to TailscalePrefs. Only fields set on this object are modified; unset fields are left alone.
Mirrors ipn.MaskedPrefs on the Go side. Renamed to PrefsUpdate in
this library because the "masked" terminology is a Go-isms that does
not translate — in Dart, the builder-plus-mask pattern is expressed
naturally as an object whose fields default to null.
- Annotations
Constructors
Properties
- acceptRoutes → bool?
-
final
-
advertisedRoutes
→ List<
String> ? -
final
-
advertisedTags
→ List<
String> ? -
final
- autoUpdate → bool?
-
final
- exitNodeId → String?
-
Pass empty string to clear the current exit node;
nullleaves unchanged (Dart's single-null problem; use named setters on Prefs or ExitNode for clarity). Any explicit update to this field also disables automatic exit-node selection, matching upstreamipn.MaskedPrefssemantics.final - hashCode → int
-
The hash code for this object.
no setteroverride
- hostname → String?
-
Tailnet-visible hostname to publish for this node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shieldsUp → bool?
-
final
- wantRunning → bool?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Encodes only fields that should be modified.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override