NodeAssociation constructor

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

Contructs object to access node association methods.

Requires accessToken obtained from authentication. Uses the default API version of v1, though an alternative version can be specified.

Implementation

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