getStats property

Future<RTCStatsReport> Function([MediaStreamTrack?]) get getStats

Implementation

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

Implementation

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