dispose method

void dispose()

Implementation

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