createLibraryImpl function

DynamicLibrary createLibraryImpl()

Implementation

DynamicLibrary createLibraryImpl() {
  if (Platform.isIOS || Platform.isMacOS) {
    return DynamicLibrary.open('$_flutterLibName.framework/$_flutterLibName');
  } else if (Platform.isWindows) {
    return DynamicLibrary.open('$_base.dll');
  } else {
    return DynamicLibrary.open('lib$_base.so');
  }
}