dispose method

void dispose()

Dispose of all resources.

This should be called when the application is shutting down to properly clean up resources like streams and connections.

Implementation

void dispose() {
  _nodeService.dispose();
}