close method

  1. @nonVirtual
void close()

Terminate and release resources of native libary.

All properties in SuperuserInterface will no longer be fetched and throws StateError if try to retrive properties after this method called.

Implementation

@nonVirtual
void close() {
  _nativeLibrary.close();
  _closed = true;
}