fix stackoverflow bug

This commit is contained in:
Salvatore Giordano
2021-02-25 11:19:56 +01:00
parent 75cdaaf062
commit 628ec27b77
9 changed files with 521 additions and 7 deletions
+4 -1
View File
@@ -4,7 +4,10 @@ import 'package:stream_chat/stream_chat.dart';
Future<void> main() async {
/// Create a new instance of [StreamChatClient] passing the apikey obtained from your
/// project dashboard.
final client = StreamChatClient('b67pax5b2wdq');
final client = StreamChatClient(
'b67pax5b2wdq',
logLevel: Level.INFO,
);
/// Set the current user. In a production scenario, this should be done using
/// a backend to generate a user token using our server SDK.