Codec constructor
Codec({})
Implementation
factory Codec({
$core.int? payloadType,
$core.String? name,
$core.String? fmtpLine,
$core.int? clockRate,
$core.String? encodingParameters,
$core.Iterable<$core.String>? feedbacks,
}) {
final $result = create();
if (payloadType != null) {
$result.payloadType = payloadType;
}
if (name != null) {
$result.name = name;
}
if (fmtpLine != null) {
$result.fmtpLine = fmtpLine;
}
if (clockRate != null) {
$result.clockRate = clockRate;
}
if (encodingParameters != null) {
$result.encodingParameters = encodingParameters;
}
if (feedbacks != null) {
$result.feedbacks.addAll(feedbacks);
}
return $result;
}