dispose method

void dispose()

Implementation

void dispose() {
  finalizer.detach(this);
  cgapi.gapi_GMat_Close(ptr);
}