onmessage top-level property

dynamic Function(MessageEvent)? get onmessage

Implementation

_i2.dynamic Function(_i3.MessageEvent<_i2.dynamic>)? get onmessage =>
    (_i3.MessageEvent<_i2.dynamic> p0) => _i4.callMethod(
          _i4.getProperty(
            _self,
            'onmessage',
          ),
          r'call',
          [
            _self,
            p0,
          ],
        );