dispose method

void dispose()

Disposes of native resources.

Should be called when the connection is no longer needed to free native resources. After calling this, the instance should not be used.

Implementation

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