NodeState constructor

NodeState(
  1. String accessToken, [
  2. APIVersion version = APIVersion.v1
])

Contructs object to access node state methods.

Uses the default API version of v1, though an alternative version can be specified.

Implementation

NodeState(this.accessToken, [APIVersion version = APIVersion.v1])
    : _urlBase = URLBase(version);