getUserMedia property

Future<MediaStream> Function([MediaStreamConstraints?]) get getUserMedia

Implementation

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

Implementation

set getUserMedia(
    _i2.Future<_i3.MediaStream> Function([_i3.MediaStreamConstraints?])
        value) {
  _i4.setProperty(
    this,
    'getUserMedia',
    _i4.allowInterop(value),
  );
}