Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx

Co-authored-by: Reuben Turner <groovinchip@gmail.com>
This commit is contained in:
Deven Joshi
2021-07-16 20:41:20 +05:30
committed by GitHub
parent 8edf68b3b9
commit d62e9a81b0
@@ -254,7 +254,7 @@ remedy the issues:
1) Change over the constructor of `connectUserWithProvider()` to the new format.
2) We added more nuance to the `disconnectUser()` by adding two new methods - one to close the connection
2) We added more nuance to `disconnectUser()` by adding two new methods - one to close the connection
and the other to disconnect the user. This allows more fine-grained control for diconnection.
* `client.closeConnection()` -> for closing user websocket connection.