AudioStream constructor
AudioStream({})
Implementation
factory AudioStream({
$core.String? codec,
$core.int? bitrateBps,
$core.int? channelCount,
$core.Iterable<$core.String>? channelLayout,
$core.Iterable<AudioStream_AudioMapping>? mapping,
$core.int? sampleRateHertz,
$core.String? languageCode,
$core.String? displayName,
}) {
final $result = create();
if (codec != null) {
$result.codec = codec;
}
if (bitrateBps != null) {
$result.bitrateBps = bitrateBps;
}
if (channelCount != null) {
$result.channelCount = channelCount;
}
if (channelLayout != null) {
$result.channelLayout.addAll(channelLayout);
}
if (mapping != null) {
$result.mapping.addAll(mapping);
}
if (sampleRateHertz != null) {
$result.sampleRateHertz = sampleRateHertz;
}
if (languageCode != null) {
$result.languageCode = languageCode;
}
if (displayName != null) {
$result.displayName = displayName;
}
return $result;
}