getDisplayMedia property

Future<MediaStream> Function([DisplayMediaStreamOptions?]) get getDisplayMedia

Implementation

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

Implementation

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