defaultLibrayPath function
Implementation
String defaultLibrayPath() {
if (Platform.isLinux) {
return 'libhub.so';
} else if (Platform.isAndroid) {
return 'libhub.so';
} else if (Platform.isWindows) {
return 'hub.dll';
} else if (Platform.isIOS) {
return 'crosscall.framework/crosscall';
} else if (Platform.isMacOS) {
return 'crosscall.framework/crosscall';
} else {
throw UnsupportedError('Unsupport os.');
}
}