TailscaleStatus class

A snapshot of the local node's current state.

Includes the node's connection status, assigned IPs, and health information. Node inventory is exposed separately through Tailscale.nodes.

Annotations

Constructors

TailscaleStatus({required NodeState state, Uri? authUrl, String? stableNodeId, required List<String> tailscaleIPs, required List<String> health, String? magicDNSSuffix})
const
TailscaleStatus.fromJson(Map<String, dynamic> json)
Parses a status snapshot from the JSON shape produced by Go's ipnstate.Status.
factory

Properties

authUrl Uri?
Login URL from the control plane, if authentication is required.
final
hashCode int
The hash code for this object.
no setteroverride
health List<String>
Health check warnings from the embedded runtime (e.g. "no connectivity to DERP servers"). Empty means all checks pass.
final
ipv4 String?
This node's first IPv4 address, or null.
no setter
isHealthy bool
Whether all health checks are passing.
no setter
isRunning bool
Whether the node is connected and ready for traffic.
no setter
magicDNSSuffix String?
The MagicDNS suffix for the tailnet (e.g. tailnet-name.ts.net) — append this to any node's hostname to get a resolvable name.
final
needsLogin bool
Whether the node needs authentication credentials.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stableNodeId String?
Stable identifier for this node (e.g. n1234AbCd).
final
state NodeState
Where the node is in the connection lifecycle.
final
tailscaleIPs List<String>
This node's assigned Tailscale IP addresses — one IPv4 in the CGNAT range (100.64.0.0/10) and one IPv6 in fd7a:115c:a1e0::/48.
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

Constants

stopped → const TailscaleStatus
A status representing a stopped/uninitialized engine.