Transaction class
- Inheritance
-
- Object
- EventTarget
- Transaction
- Annotations
-
- @Unstable()
- @Native("IDBTransaction")
Properties
-
completed
โ Future<
Database> -
Provides a Future which will be completed once the transaction has
completed.
no setter
- db โ Database?
-
no setter
- error โ DomException?
-
no setter
- hashCode โ int
-
The hash code for this object.
no setterinherited
- mode โ String?
-
no setter
-
objectStoreNames
โ List<
String> ? -
no setter
- on โ Events
-
This is an ease-of-use accessor for event streams which should only be
used when an explicit accessor is not available.
no setterinherited
-
onAbort
โ Stream<
Event> -
Stream of
abort
events handled by this Transaction.no setter -
onComplete
โ Stream<
Event> -
Stream of
complete
events handled by this Transaction.no setter -
onError
โ Stream<
Event> -
Stream of
error
events handled by this Transaction.no setter - runtimeType โ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
abort(
) โ void -
addEventListener(
String type, EventListener? listener, [bool? useCapture]) โ void -
inherited
-
dispatchEvent(
Event event) โ bool -
inherited
-
noSuchMethod(
Invocation invocation) โ dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
objectStore(
String name) โ ObjectStore -
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) โ void -
inherited
-
toString(
) โ String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) โ bool -
The equality operator.
inherited
Constants
-
abortEvent
โ const EventStreamProvider<
Event> -
Static factory designed to expose
abort
events to event handlers that are not necessarily instances of Transaction. -
completeEvent
โ const EventStreamProvider<
Event> -
Static factory designed to expose
complete
events to event handlers that are not necessarily instances of Transaction. -
errorEvent
โ const EventStreamProvider<
Event> -
Static factory designed to expose
error
events to event handlers that are not necessarily instances of Transaction.