logout method

Future<void> logout()

Erases session token, visitor token, unread count, pending messages, and the push registration — call on sign-out so the next person on a shared device never sees the previous user's conversation.

Implementation

Future<void> logout() {
  throw UnimplementedError('logout() has not been implemented.');
}