queryFriendList method

Future<Map> queryFriendList(
  1. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> queryFriendList(dynamic config) async {
  final result = await promiseToFuture(
          ZIM.getInstance()!.queryFriendList(mapToJSObj(config)))
      .catchError((e) {
    throw PlatformException(code: e.code.toString(), message: e.message);
  });

  return jsObjectToMap(result);
}