copyWith method
Create a copy with the given fields replaced
Implementation
RemoteParticipant copyWith({
String? id,
String? name,
Map<String, dynamic>? info,
List<RemoteStream>? streams,
}) {
return RemoteParticipant(
id: id ?? this.id,
name: name ?? this.name,
info: info ?? this.info,
streams: streams ?? this.streams,
);
}