onmessage property

dynamic Function(ExtendableMessageEvent)? get onmessage

Implementation

_i2.dynamic Function(_i3.ExtendableMessageEvent)? get onmessage =>
    (_i3.ExtendableMessageEvent p0) => _i4.callMethod(
          _i4.getProperty(
            this,
            'onmessage',
          ),
          r'call',
          [
            this,
            p0,
          ],
        );
set onmessage (dynamic value(ExtendableMessageEvent)?)

Implementation

set onmessage(_i2.dynamic Function(_i3.ExtendableMessageEvent)? value) {
  _i4.setProperty(
    this,
    'onmessage',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}