leave method
Implementation
Future<void> leave() async {
final res = await _callNative("leave", null);
if (res["errorCode"] != 0)
throw AgoraRtmChannelException(
"leave failed errorCode:${res['errorCode']}", res['errorCode']);
}
Future<void> leave() async {
final res = await _callNative("leave", null);
if (res["errorCode"] != 0)
throw AgoraRtmChannelException(
"leave failed errorCode:${res['errorCode']}", res['errorCode']);
}