queryConversationPinnedList method

Future<Map> queryConversationPinnedList(
  1. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> queryConversationPinnedList(
    dynamic config) async {
  final _config = mapToJSObj((config));

  final result = await promiseToFuture(
          ZIM.getInstance()!.queryConversationPinnedList(_config))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  final resultMap = jsObjectToMap(result);

  return resultMap;
}