Peer class

Constructors

Peer({Consumer? audio, Consumer? video, RTCVideoRenderer? renderer, required String displayName, required String id})
const
Peer.fromMap(Map data)

Properties

audio → Consumer?
final
consumers List<String>
no setter
displayName String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
renderer → RTCVideoRenderer?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
video → Consumer?
final

Methods

copyWith({Consumer? audio, Consumer? video, RTCVideoRenderer? renderer, PeerDevice? device, String? displayName, String? id}) Peer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAudio({Consumer? video, RTCVideoRenderer? renderer, PeerDevice? device, String? displayName, String? id}) Peer
removeAudioAndRenderer({Consumer? video, PeerDevice? device, String? displayName, String? id}) Peer
removeVideo({Consumer? audio, RTCVideoRenderer? renderer, PeerDevice? device, String? displayName, String? id}) Peer
removeVideoAndRenderer({Consumer? audio, PeerDevice? device, String? displayName, String? id}) Peer
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited