add thread offline

This commit is contained in:
Salvatore Giordano
2020-03-12 16:08:42 +01:00
parent 6f696c41ed
commit ce3aae2e38
3 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -25,12 +25,13 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart';
///
/// If you now run the simulator you will see a single channel UI.
void main() async {
WidgetsFlutterBinding.ensureInitialized();
final client = Client(
'b67pax5b2wdq',
logLevel: Level.INFO,
);
await client.setUser(
client.setUser(
User(id: 'falling-mountain-7'),
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiZmFsbGluZy1tb3VudGFpbi03In0.AKgRXHMQQMz6vJAKszXdY8zMFfsAgkoUeZHlI-Szz9E',
);