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