dispose abstract method
Releases every resource held by the client.
Unlike disconnect, this cannot be undone: connect throws afterwards and stateUpdateEvents stops emitting. Call it once the client is no longer needed, such as when the user signs out. Calling it again does nothing.
Example:
await client.dispose();
Implementation
Future<void> dispose();