VideoLayerSetting constructor

VideoLayerSetting({
  1. String? name,
  2. bool? active,
  3. int? maxBitrate,
  4. double? scaleResolutionDownBy,
  5. VideoLayerSetting_Priority? priority,
  6. Codec? codec,
  7. int? maxFramerate,
})

Implementation

factory VideoLayerSetting({
  $core.String? name,
  $core.bool? active,
  $core.int? maxBitrate,
  $core.double? scaleResolutionDownBy,
  VideoLayerSetting_Priority? priority,
  $0.Codec? codec,
  $core.int? maxFramerate,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (active != null) {
    $result.active = active;
  }
  if (maxBitrate != null) {
    $result.maxBitrate = maxBitrate;
  }
  if (scaleResolutionDownBy != null) {
    $result.scaleResolutionDownBy = scaleResolutionDownBy;
  }
  if (priority != null) {
    $result.priority = priority;
  }
  if (codec != null) {
    $result.codec = codec;
  }
  if (maxFramerate != null) {
    $result.maxFramerate = maxFramerate;
  }
  return $result;
}