getParticipants method

Future getParticipants({
  1. required String groupId,
})

To get participants of a group

Implementation

Future getParticipants({required String groupId}) async {
  return await wpClient.evaluateJs(
    '''window.WPP.group.getParticipants(${groupId.groupParse});''',
    methodName: "getParticipants",
    forceJsonParseResult: true,
  );
}