storageEvent constant Null safety

EventStreamProvider<StorageEvent> const storageEvent

Static factory designed to expose storage events to event handlers that are not necessarily instances of Window.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<StorageEvent> storageEvent =
    const EventStreamProvider<StorageEvent>('storage')