docs: add filter to StreamUserListController (#1267)
The filter is a required field for the API call
This commit is contained in:
@@ -27,6 +27,7 @@ class UserListPageState extends State<UserListPage> {
|
|||||||
/// [StreamUserListController].
|
/// [StreamUserListController].
|
||||||
late final userListController = StreamUserListController(
|
late final userListController = StreamUserListController(
|
||||||
client: StreamChatCore.of(context).client,
|
client: StreamChatCore.of(context).client,
|
||||||
|
filter: Filter.notEqual('id', StreamChatCore.of(context).currentUser!),
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user