enterChatRoom method

Future<JMConversationInfo> enterChatRoom ({@required String roomId })

Implementation

Future<JMConversationInfo> enterChatRoom({
  @required String roomId,
}) async {

  Map resJson = await _channel.invokeMethod('enterChatRoom',
  { 'roomId': roomId }..removeWhere((key, value) => value == null));

  return JMConversationInfo.fromJson(resJson);
}