close method

void close()

Closes and cleans up all resources used by this Admin.

Implementation

void close() {
  if (isClosed()) {
    return;
  }
  _finalizer.detach(this);
  final error = C.admin_close(_cAdmin);
  _cAdmin = nullptr;
  checkObx(error);
}