update examples using latest llc version

This commit is contained in:
Salvatore Giordano
2021-02-04 13:11:57 +01:00
parent 41eef5a0a7
commit 27e5bb595f
12 changed files with 15 additions and 15 deletions
@@ -9,11 +9,11 @@ void main() async {
logLevel: Level.INFO,
);
/// Set the current user. In a production scenario, this should be done using
/// Set the current user and connect the websocket. In a production scenario, this should be done using
/// a backend to generate a user token using our server SDK.
/// Please see the following for more information:
/// https://getstream.io/chat/docs/ios_user_setup_and_tokens/
await client.setUser(
await client.connectUser(
User(id: 'super-band-9'),
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoic3VwZXItYmFuZC05In0.0L6lGoeLwkz0aZRUcpZKsvaXtNEDHBcezVTZ0oPq40A',
);