onTokenRefresh property

EventStream<void> get onTokenRefresh

Fired when all the granted tokens need to be refreshed.

Implementation

EventStream<void> get onTokenRefresh =>
    $js.chrome.instanceId.onTokenRefresh.asStream(($c) => () {
          return $c(null);
        }.toJS);