StreamUserListController.fromValue constructor

StreamUserListController.fromValue(
  1. PagedValue<int, User> value, {
  2. required StreamChatClient client,
  3. Filter? filter,
  4. List<SortOption>? sort,
  5. bool presence = true,
  6. int limit = defaultUserPagedLimit,
})

Creates a StreamUserListController from the passed value.

Implementation

StreamUserListController.fromValue(
  super.value, {
  required this.client,
  this.filter,
  this.sort,
  this.presence = true,
  this.limit = defaultUserPagedLimit,
})  : _activeFilter = filter,
      _activeSort = sort;