getViewportMedia method

Future<MediaStream> getViewportMedia([
  1. ViewportMediaStreamConstraints? constraints
])

Implementation

Future<MediaStream> getViewportMedia(
        [ViewportMediaStreamConstraints? constraints]) =>
    js_util.promiseToFuture(
        js_util.callMethod(this, 'getViewportMedia', [constraints]));