PromiseRejectionEventInit constructor

PromiseRejectionEventInit({
  1. required Future promise,
  2. dynamic reason,
})

Implementation

external factory PromiseRejectionEventInit(
    {required Future<dynamic> promise, dynamic reason});