Created
January 7, 2023 16:32
-
-
Save alperefesahin/f8264aa86fef28527bfffe172365b586 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @override | |
| Stream<List<Channel>> get channelsThatTheUserIsIncluded { | |
| return streamChatClient | |
| .queryChannels( | |
| filter: Filter.in_( | |
| 'members', | |
| [streamChatClient.state.currentUser!.id], | |
| ), | |
| ) | |
| .map((listOfChannels) { | |
| return listOfChannels; | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment