logout method
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
@override
Future<void> logout() {
return methodChannel.invokeMethod<void>('logout');
}