getGroupWithContacts method
Get group and contacts belonging to it
Parameters:
Implementation
Future<GroupContactsDto?> getGroupWithContacts(String groupId,) async {
final response = await getGroupWithContactsWithHttpInfo(groupId,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
if (response.body.isNotEmpty && response.statusCode != HttpStatus.noContent) {
return await apiClient.deserializeAsync(await _decodeBodyBytes(response), 'GroupContactsDto',) as GroupContactsDto;
}
return null;
}