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;
}