removeAudioAndRenderer method

Peer removeAudioAndRenderer({
  1. Consumer? video,
  2. PeerDevice? device,
  3. String? displayName,
  4. 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,
  );
}