onaddtrack property

dynamic Function(MediaStreamTrackEvent)? get onaddtrack

Implementation

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

Implementation

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