queryUsersInfo method

Future<Map> queryUsersInfo(
  1. dynamic userIDs,
  2. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> queryUsersInfo(
    dynamic userIDs, dynamic config) async {
  Object _config = mapToJSObj(config);

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

  return jsObjectToMap(result);
}