getSessionState method

Future<SessionState> getSessionState()

Gets the current session state.

Implementation

Future<SessionState> getSessionState() async {
  var $res = await promiseToFuture<$js.SessionState>(
      $js.chrome.loginState.getSessionState());
  return SessionState.fromJS($res);
}