library method
Implementation
DynamicLibrary library({
String? pathLib,
}) {
pathLib ??= path_lib;
if (Platform.isIOS || Platform.isMacOS) {
if (is_cli) {
return DynamicLibrary.open(path_lib);
}
return DynamicLibrary.process();
} else {
return DynamicLibrary.open(pathLib);
}
}