versionChangeEvent constant Null safety

EventStreamProvider<VersionChangeEvent> const versionChangeEvent

Static factory designed to expose versionchange events to event handlers that are not necessarily instances of Database.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<VersionChangeEvent> versionChangeEvent =
    const EventStreamProvider<VersionChangeEvent>('versionchange')