logout method

  1. @override
Future<ActionCallback> logout()
override

Implementation

@override
Future<ActionCallback> logout() async {
  V2TimCallback loginRes = await timManager.logout();
  _stopCall();
  _exitRoom();
  mNickName = "";
  mFaceUrl = "";
  return ActionCallback(code: loginRes.code, desc: loginRes.desc);
}