init static method

void init(
  1. String path
)

Explicitly initializes the library with a specific path if needed.

Implementation

static void init(String path) {
  _dylib = DynamicLibrary.open(path);
  _instance = OpenSslFfi(_dylib!);
  _initCrypto();
}