getUserMedia method Null safety

Future<MediaStream> getUserMedia(
  1. Map<String, dynamic> mediaConstraints
)

Calling this method will prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream. The resulting stream can then be recorded using the MediaStream Recording API or transmitted as part of a WebRTC session.

Implementation

Future<MediaStream> getUserMedia(Map<String, dynamic> mediaConstraints);