getChatRoomConversationList method

Future<List<JMConversationInfo>> getChatRoomConversationList ()

Implementation

Future<List<JMConversationInfo>> getChatRoomConversationList() async {
  List conversationJsons = await _channel.invokeMethod('getChatRoomConversationList');
  List<JMConversationInfo> conversations = conversationJsons.map((json) => JMConversationInfo.fromJson(json)).toList();
  return conversations;
}