setup method
初始化
Implementation
void setup({JShareConfig? config}) {
print(flutterLog + "setup:");
if (config == null) {
return;
}
if (config.appKey == null) {
print(flutterLog + "JIGUANG appkey can not be null");
return;
}
Map map = config.toJsonMap();
_channel.invokeListMethod("setup", map);
}