UserGroupChannelCountGetRequest constructor

UserGroupChannelCountGetRequest(
  1. MemberStateFilter filter, {
  2. String? userId,
})

Implementation

UserGroupChannelCountGetRequest(MemberStateFilter filter, {String? userId})
    : super(userId: userId) {
  url = 'users/${userId ?? state.userId}/group_channel_count';
  queryParams = {'state': memberStateFilterEnumForGroupCount(filter)};
}