unInitSDK method

  1. @override
Future<V2TimCallback> unInitSDK()
override

反初始化 SDK

Implementation

@override
Future<V2TimCallback> unInitSDK() async {
  initSDKListenerList.clear();
  var resp = V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'unInitSDK',
        buildTimManagerParam(
          {},
        ),
      ),
    ),
  );
  log("unInitSDK", {}, resp.toLogString());
  return resp;
}