ondatachannel property

dynamic Function(RTCDataChannelEvent)? get ondatachannel

Implementation

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

Implementation

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