onAdded property

EventStream<Permissions> get onAdded

Fired when the extension acquires new permissions.

Implementation

EventStream<Permissions> get onAdded => $js.chrome.permissions.onAdded
    .asStream(($c) => ($js.Permissions permissions) {
          return $c(Permissions.fromJS(permissions));
        });