nodes method

  1. @override
Future<List<TailscaleNode>> nodes()
override

Returns the current node inventory — every node on the tailnet this node is aware of, whether online right now or not.

Separate from status so apps can poll lightweight node state without re-pulling the full node list on every refresh. For push-style updates, see onNodeChanges.

Implementation

@override
Future<List<TailscaleNode>> nodes() {
  _requireInitialized();
  return _snapshotNodes();
}