visibilityChangeEvent constant Null safety

EventStreamProvider<Event> const visibilityChangeEvent
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10')

Static factory designed to expose visibilitychange events to event handlers that are not necessarily instances of Document.

See EventStreamProvider for usage information.

Implementation

@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.IE, '10')
static const EventStreamProvider<Event> visibilityChangeEvent =
    const _CustomEventStreamProvider<Event>(
        _determineVisibilityChangeEventType);