This commit is contained in:
John Smith
2022-12-03 20:10:33 -05:00
parent 3e24154e3d
commit 847623f2b4
5 changed files with 50 additions and 19 deletions

View File

@@ -1454,7 +1454,7 @@ class VeilidStateConfig {
});
VeilidStateConfig.fromJson(Map<String, dynamic> json)
: config = jsonDecode(json['config']);
: config = json['config'];
Map<String, dynamic> get json {
return {'config': config};

View File

@@ -16,7 +16,7 @@ const _base = 'veilid_flutter';
final _path = Platform.isWindows
? '$_base.dll'
: Platform.isMacOS
? 'veilid.framework/Resources/lib$_base.dylib'
? 'lib$_base.dylib'
: 'lib$_base.so';
final _dylib =
Platform.isIOS ? DynamicLibrary.process() : DynamicLibrary.open(_path);