onChanged property

EventStream<OnChangedEvent> get onChanged

Fired when one or more items change.

Implementation

EventStream<OnChangedEvent> get onChanged =>
    $js.chrome.storage.onChanged.asStream(($c) => (
          JSAny changes,
          String areaName,
        ) {
          return $c(OnChangedEvent(
            changes: changes.toDartMap(),
            areaName: areaName,
          ));
        }.toJS);