getUserMedia method Null safety
- [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));
}