getInvitedIndividuals static method

Future<SearchResultOfGroupMemberApplicationResponse> getInvitedIndividuals(
  1. HttpClient client,
  2. int currentpage,
  3. String groupId
)

Get the list of users who have been invited into the group.

Implementation

static Future<SearchResultOfGroupMemberApplicationResponse> getInvitedIndividuals (
    HttpClient client,
    int currentpage,
    String groupId,
) async {
    final Map<String, dynamic> params = Map<String, dynamic>();
    final String _currentpage = '$currentpage';
    final String _groupId = '$groupId';
    final HttpClientConfig config = HttpClientConfig('GET', '/GroupV2/$_groupId/Members/InvitedIndividuals/', params);
    config.bodyContentType = null;
    final HttpResponse response = await client.request(config);
    if(response.statusCode == 200) {
        return SearchResultOfGroupMemberApplicationResponse.asyncFromJson(response.mappedBody);
    }
    throw Exception(response.mappedBody);
}