UnitRCLibrary constructor

UnitRCLibrary(
  1. String libName,
  2. String module
)

Implementation

UnitRCLibrary(String libName, String module) {
  this.module = module;
  if (Platform.isIOS) {
    lib = DynamicLibrary.process();
  } else {
    lib = DynamicLibrary.open("lib${libName}.so");
  }
}