addTrack property

RTCRtpSender Function(MediaStreamTrack, [Iterable?]) get addTrack

Implementation

_i3.RTCRtpSender Function(
  _i3.MediaStreamTrack, [
  _i2.Iterable<_i2.dynamic>?,
]) get addTrack => (
      _i3.MediaStreamTrack p0, [
      _i2.Iterable<_i2.dynamic>? p1,
    ]) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'addTrack',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        );
set addTrack (RTCRtpSender value(MediaStreamTrack, [Iterable?]))

Implementation

set addTrack(
    _i3.RTCRtpSender Function(
      _i3.MediaStreamTrack, [
      _i2.Iterable<_i2.dynamic>?,
    ]) value) {
  _i4.setProperty(
    this,
    'addTrack',
    _i4.allowInterop((
      _i3.MediaStreamTrack v0, [
      a0,
      a1,
      a2,
      a3,
      a4,
      a5,
      a6,
      a7,
      a8,
      a9,
    ]) =>
        value(
          v0,
          [
            a0,
            a1,
            a2,
            a3,
            a4,
            a5,
            a6,
            a7,
            a8,
            a9,
          ],
        )),
  );
}