StorageEvent constructor

StorageEvent(
  1. String type,
  2. {bool canBubble: false,
  3. bool cancelable: false,
  4. String key,
  5. String oldValue,
  6. String newValue,
  7. String url,
  8. Storage storageArea}
)

Implementation

factory StorageEvent(String type,
    {bool canBubble: false,
    bool cancelable: false,
    String key,
    String oldValue,
    String newValue,
    String url,
    Storage storageArea}) {
  StorageEvent e = document._createEvent("StorageEvent");
  e._initStorageEvent(
      type, canBubble, cancelable, key, oldValue, newValue, url, storageArea);
  return e;
}