notifyLoggedOut method

void notifyLoggedOut()

Broadcasts a logout event to other tabs.

Implementation

void notifyLoggedOut() {
  channel.postMessage({'type': 'logged_out'});
}