We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5317fa commit 4f802eaCopy full SHA for 4f802ea
README.md
@@ -227,7 +227,7 @@ Stream uses [Faye](http://faye.jcoglan.com) for realtime notifications. Below is
227
```dart
228
229
// ⚠️ userToken is generated server-side (see previous section)
230
-final client = connect('YOUR_API_KEY', token: userToken,appId: 'APP_ID');
+final client = StreamClient.connect('YOUR_API_KEY', token: userToken,appId: 'APP_ID');
231
final user1 = client.flatFeed('user', '1');
232
233
// subscribe to the changes
0 commit comments