removeVideoAndRenderer method

Peer removeVideoAndRenderer({
  1. Consumer? audio,
  2. PeerDevice? device,
  3. String? displayName,
  4. String? id,
})

Implementation

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