replaceTrack property

Future<void> Function([MediaStreamTrack?]) get replaceTrack

Implementation

_i2.Future<void> Function([_i3.MediaStreamTrack?]) get replaceTrack =>
    ([_i3.MediaStreamTrack? p0]) => _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'replaceTrack',
          ),
          r'call',
          [
            this,
            p0 ?? _i6.undefined,
          ],
        ));
set replaceTrack (Future<void> value([MediaStreamTrack?]))

Implementation

set replaceTrack(_i2.Future<void> Function([_i3.MediaStreamTrack?]) value) {
  _i4.setProperty(
    this,
    'replaceTrack',
    _i4.allowInterop(value),
  );
}