VideoLayerSetting constructor
VideoLayerSetting({})
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;
}