getUserMedia method

Future<MediaStream> getUserMedia([
  1. MediaStreamConstraints? constraints
])

Implementation

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