removeAudioAndRenderer method
Peer
removeAudioAndRenderer({
- Consumer? video,
- PeerDevice? device,
- String? displayName,
- String? id,
Implementation
Peer removeAudioAndRenderer({
Consumer? video,
PeerDevice? device,
String? displayName,
String? id,
}) {
return Peer(
audio: null,
video: video ?? this.video,
renderer: null,
displayName: displayName ?? this.displayName,
// device: device ?? this.device,
id: id ?? this.id,
);
}