close method
void
close()
Closes and cleans up all resources used by this Admin.
Implementation
void close() {
if (!isClosed()) {
final errors = List.filled(2, 0);
if (_cFinalizer != nullptr) {
errors[0] = C.dartc_detach_finalizer(_cFinalizer, this);
}
errors[1] = C.admin_close(_cAdmin);
_cAdmin = nullptr;
errors.forEach(checkObx);
}
}