fix rxdart
This commit is contained in:
@@ -44,7 +44,8 @@ class MessageSearchBlocState extends State<MessageSearchBloc>
|
||||
late StreamChatCoreState _streamChatCoreState;
|
||||
|
||||
/// The current messages list
|
||||
List<GetMessageResponse>? get messageResponses => _messageResponses.value;
|
||||
List<GetMessageResponse>? get messageResponses =>
|
||||
_messageResponses.valueOrNull;
|
||||
|
||||
/// The current messages list as a stream
|
||||
Stream<List<GetMessageResponse>> get messagesStream =>
|
||||
|
||||
@@ -43,7 +43,7 @@ class UsersBloc extends StatefulWidget {
|
||||
class UsersBlocState extends State<UsersBloc>
|
||||
with AutomaticKeepAliveClientMixin {
|
||||
/// The current users list
|
||||
List<User>? get users => _usersController.value;
|
||||
List<User>? get users => _usersController.valueOrNull;
|
||||
|
||||
/// The current users list as a stream
|
||||
Stream<List<User>> get usersStream => _usersController.stream;
|
||||
|
||||
Reference in New Issue
Block a user