PromiseRejectionEvent constructor

PromiseRejectionEvent(
  1. String type,
  2. PromiseRejectionEventInit eventInitDict
)

Implementation

factory PromiseRejectionEvent(
  _i2.String type,
  _i3.PromiseRejectionEventInit eventInitDict,
) =>
    _i4.callConstructor(
      _declaredPromiseRejectionEvent,
      [
        type,
        eventInitDict,
      ],
    );