PromiseRejectionEvent class
The interface represents events which are sent to the global script context when JavaScript Futures are rejected. These events are particularly useful for telemetry and debugging purposes. For details on promise rejection events, see Promise rejection events in Using Promises.
Event
PromiseRejectionEvent
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- PromiseRejectionEvent(String type, PromiseRejectionEventInit eventInitDict)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited