getChatRoomConversation method

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

Implementation

Future<JMConversationInfo> getChatRoomConversation({
  @required String roomId,
}) async {
  Map resJson = await _channel.invokeMethod('getChatRoomConversation',
  { 'roomId': roomId }..removeWhere((key, value) => value == null));

  return JMConversationInfo.fromJson(resJson);
}