getConversations method

Future<List<JMConversationInfo>> getConversations ()

Implementation

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