description

# getUserMedia method Null safety

Future<MediaStream> getUserMedia (

1. [Map? constraints]

)

## Implementation

    Future<MediaStream> getUserMedia([Map? constraints]) {
      var constraints_dict = null;
      if (constraints != null) {
        constraints_dict = convertDartToNative_Dictionary(constraints);
      }
      return promiseToFuture<MediaStream>(
          JS("", "#.getUserMedia(#)", this, constraints_dict));
    }