copyWith method
Implementation
ConsumerParams copyWith({
String? id,
String? producerId,
String? kind,
Map<String, dynamic>? rtpParameters,
}) {
return ConsumerParams(
id: id ?? this.id,
producerId: producerId ?? this.producerId,
kind: kind ?? this.kind,
rtpParameters: rtpParameters ?? this.rtpParameters,
);
}