MediaTrackConstraintSet constructor

MediaTrackConstraintSet({
  1. Object? aspectRatio,
  2. Object? autoGainControl,
  3. double? channelCount,
  4. Object? deviceId,
  5. Object? displaySurface,
  6. Object? echoCancellation,
  7. Object? facingMode,
  8. Object? frameRate,
  9. Object? groupId,
  10. double? height,
  11. Object? noiseSuppression,
  12. double? sampleRate,
  13. double? sampleSize,
  14. double? width,
})

Implementation

factory MediaTrackConstraintSet({
  _i2.Object? aspectRatio,
  _i2.Object? autoGainControl,
  _i2.double? channelCount,
  _i2.Object? deviceId,
  _i2.Object? displaySurface,
  _i2.Object? echoCancellation,
  _i2.Object? facingMode,
  _i2.Object? frameRate,
  _i2.Object? groupId,
  _i2.double? height,
  _i2.Object? noiseSuppression,
  _i2.double? sampleRate,
  _i2.double? sampleSize,
  _i2.double? width,
}) =>
    MediaTrackConstraintSet._(
      aspectRatio: aspectRatio ?? _i6.undefined,
      autoGainControl: autoGainControl ?? _i6.undefined,
      channelCount: channelCount,
      deviceId: deviceId ?? _i6.undefined,
      displaySurface: displaySurface ?? _i6.undefined,
      echoCancellation: echoCancellation ?? _i6.undefined,
      facingMode: facingMode ?? _i6.undefined,
      frameRate: frameRate ?? _i6.undefined,
      groupId: groupId ?? _i6.undefined,
      height: height,
      noiseSuppression: noiseSuppression ?? _i6.undefined,
      sampleRate: sampleRate,
      sampleSize: sampleSize,
      width: width,
    );