MediaStreamConstraints constructor

MediaStreamConstraints({
  1. dynamic video,
  2. dynamic audio,
})

Implementation

factory MediaStreamConstraints({dynamic video, dynamic audio}) =>
    MediaStreamConstraints._(video: video ?? false, audio: audio ?? false);