onconnect property

dynamic Function(MessageEvent)? get onconnect

Implementation

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

Implementation

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