StorageOnChangedEvent class
Fired when one or more items change.
class StorageOnChangedEvent {
/**
* Object mapping each key that changed to its corresponding [StorageChange]
* for that item.
*/
final Map changes;
/**
* The name of the storage area (`sync` or `local`) the changes are for.
*/
final String areaName;
StorageOnChangedEvent(this.changes, this.areaName);
}
Constructors
new StorageOnChangedEvent(Map changes, String areaName) #
Creates a new Object instance.
Object instances have no meaningful state, and are only useful
through their identity. An Object instance is equal to itself
only.
docs inherited from Object
StorageOnChangedEvent(this.changes, this.areaName);
Properties
final String areaName #
The name of the storage area (sync or local) the changes are for.
final String areaName
final Map changes #
Object mapping each key that changed to its corresponding StorageChange for that item.
final Map changes