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