dispose method

void dispose()

Releases all internal native resources.

Implementation

void dispose() {
  _checkStatus();
  _invalid = true;
  _checkError(_nativeGPIOclose(_gpioHandle));
  _nativeGPIOfree(_gpioHandle);
}