init method
Implementation
Future<bool?> init(
InitConfig config,
OnConnectListener listener, {
String? operationID,
}) {
_connectListener = listener;
config.logFilePath ??= config.dataDir;
return _channel.invokeMethod(
'initSDK',
_buildParam(
{
...config.toMap(),
"operationID": Utils.checkOperationID(operationID),
},
),
);
}