remove deprecated stuff from older versions

This commit is contained in:
Salvatore Giordano
2022-05-02 17:45:06 +02:00
parent da627a6c8a
commit 6f6032441c
6 changed files with 1 additions and 96 deletions
@@ -101,20 +101,6 @@ class StreamChatCoreState extends State<StreamChatCore>
return widget.child;
}
// coverage:ignore-start
/// The current user
@Deprecated('Use `.currentUser` instead, Will be removed in future releases')
User? get user => client.state.currentUser;
/// The current user as a stream
@Deprecated(
'Use `.currentUserStream` instead, Will be removed in future releases',
)
Stream<User?> get userStream => client.state.currentUserStream;
// coverage:ignore-end
/// The current user
User? get currentUser => client.state.currentUser;