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