onunhandledrejection property
dynamic Function(PromiseRejectionEvent)?
get
onunhandledrejection
Implementation
_i2.dynamic Function(_i3.PromiseRejectionEvent)? get onunhandledrejection =>
(_i3.PromiseRejectionEvent p0) => _i4.callMethod(
_i4.getProperty(
this,
'onunhandledrejection',
),
r'call',
[
this,
p0,
],
);
set
onunhandledrejection
(dynamic value(PromiseRejectionEvent)?)
Implementation
set onunhandledrejection(
_i2.dynamic Function(_i3.PromiseRejectionEvent)? value) {
_i4.setProperty(
this,
'onunhandledrejection',
value == null ? _i6.undefined : _i4.allowInterop(value),
);
}