copy static method

RtcpParameters copy(
  1. RtcpParameters old, {
  2. bool? mux,
  3. String? cname,
  4. bool? reducedSize,
})

Implementation

static RtcpParameters copy(
  RtcpParameters old, {
  bool? mux,
  String? cname,
  bool? reducedSize,
}) {
  return RtcpParameters(
    mux: mux ?? old.mux,
    cname: cname ?? old.cname,
    reducedSize: reducedSize ?? old.reducedSize,
  );
}