close method

void close()

Closes the dynamic library.

Implementation

void close() {
  if (lib != null) {
    lib?.close();
    lib = null;
  }
}