quitChatRoom static method

Future<void> quitChatRoom(
  1. String targetId
)

退出聊天室

targetId 聊天室 id

会通过 onQuitChatRoom 回调退出的结果

Implementation

static Future<void> quitChatRoom(String targetId) async {
  Map map = {"targetId": targetId};
  await _channel.invokeMethod(RCMethodKey.QuitChatRoom, map);
}