setUserIdsIncludeFilter method

void setUserIdsIncludeFilter(
  1. List<String> userIds,
  2. GroupChannelListQueryType type
)

Sets User IDs filter. GroupChannel list containing the passed User IDs and other members will be returned. This does not cooperate with other filters.

Implementation

void setUserIdsIncludeFilter(
    List<String> userIds, GroupChannelListQueryType type) {
  sbLog.i(StackTrace.current, 'userIds: $userIds, type: $type');

  nicknameContainsFilter = null;
  userIdsExactFilter = [];
  userIdsIncludeFilter = userIds;
  queryType = type;
}