logout method
Allows a user to log out of the Agora RTM system.
Implementation
Future logout() async {
final res = await _callNative("logout", null);
if (res["errorCode"] != 0)
throw AgoraRtmClientException(
"logout failed errorCode:${res['errorCode']}", res['errorCode']);
}