queryConversationList method
Future<Map>
queryConversationList(
- dynamic config,
- dynamic option
)
Implementation
Future<Map<dynamic, dynamic>> queryConversationList(
dynamic config, dynamic option) async {
Object _config = mapToJSObj(config);
Object _option = mapToJSObj(option);
final result = await promiseToFuture(
ZIM.getInstance()!.queryConversationList(_config, _option))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
Map resultMap = jsObjectToMap(result);
return resultMap;
}