queryGroupMemberList method

Future<Map> queryGroupMemberList(
  1. String groupID,
  2. dynamic config
)

Implementation

Future<Map<dynamic, dynamic>> queryGroupMemberList(
    String groupID, dynamic config) async {
  Object _config = mapToJSObj(config);

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

  Map resultMap = jsObjectToMap(result);

  return resultMap;
}