onPermissionLevelChanged property
EventStream<PermissionLevel>
get
onPermissionLevelChanged
The user changes the permission level. As of Chrome 47, only ChromeOS has UI that dispatches this event.
Implementation
EventStream<PermissionLevel> get onPermissionLevelChanged =>
$js.chrome.notifications.onPermissionLevelChanged
.asStream(($c) => ($js.PermissionLevel level) {
return $c(PermissionLevel.fromJS(level));
});