onSDKFailed method
Implementation
void onSDKFailed(String apiName, int code, String desc) {
TencentCloudChat.instance.logInstance.console(
componentName: componentName,
logs: json.encode({
"apiName": apiName,
"code": code,
"desc": desc,
}),
);
for (final callbacks in callbacksList) {
callbacks.onSDKFailed?.call(apiName, code, desc);
}
}