getNodeById method
Gets the node that matches an id.
Implementation
Future<Node> getNodeById(int id) async {
final response = await _context.client.get(
Uri.https(authority, '$path/nodes/$id'),
);
ClientException.checkIsSuccessStatusCode(response);
return Node.fromJson(json.decode(response.body));
}