ViewportMediaStreamConstraints constructor

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

Implementation

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