PromiseRejectionEventInit constructor

PromiseRejectionEventInit({
  1. Future? promise,
  2. dynamic reason,
  3. bool? bubbles,
  4. bool? cancelable,
  5. bool? composed,
})

Implementation

factory PromiseRejectionEventInit({
  _i2.Future<_i2.dynamic>? promise,
  _i2.dynamic reason,
  _i2.bool? bubbles,
  _i2.bool? cancelable,
  _i2.bool? composed,
}) =>
    PromiseRejectionEventInit._(
      promise: promise,
      reason: reason,
      bubbles: bubbles,
      cancelable: cancelable,
      composed: composed,
    );