onSignInChanged property

EventStream<OnSignInChangedEvent> get onSignInChanged

Fired when signin state changes for an account on the user's profile.

Implementation

EventStream<OnSignInChangedEvent> get onSignInChanged =>
    $js.chrome.identity.onSignInChanged.asStream(($c) => (
          $js.AccountInfo account,
          bool signedIn,
        ) {
          return $c(OnSignInChangedEvent(
            account: AccountInfo.fromJS(account),
            signedIn: signedIn,
          ));
        });