W3cubDocs

/Dart 2

upgradeNeededEvent constant

EventStreamProvider<VersionChangeEvent> const upgradeNeededEvent = const EventStreamProvider<VersionChangeEvent>('upgradeneeded')

Static factory designed to expose upgradeneeded events to event handlers that are not necessarily instances of OpenDBRequest.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider<VersionChangeEvent> upgradeNeededEvent =
    const EventStreamProvider<VersionChangeEvent>('upgradeneeded')

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-indexed_db/OpenDBRequest/upgradeNeededEvent-constant.html