queryConversation method
Implementation
Future<Map<dynamic, dynamic>> queryConversation(
String conversationID, dynamic conversationType) async {
final result = await promiseToFuture(ZIM
.getInstance()!
.queryConversation(conversationID, conversationType))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
final resultMap = jsObjectToMap(result);
return resultMap;
}