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