RTCDataChannel class

Constructors

RTCDataChannel(RtcDataChannel _jsDc)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
messageStream Stream<RTCDataChannelMessage>
Stream of incoming messages. Emits the message. Closes when the RTCDataChannel is closed.
read / write
onDataChannelState RTCDataChannelStateCallback
read / write
onMessage RTCDataChannelOnMessageCallback
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state RTCDataChannelState
Get current state.
read-only
stateChangeStream Stream<RTCDataChannelState>
Stream of state change events. Emits the new state on change. Closes when the RTCDataChannel is closed.
read / write

Methods

close() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
send(RTCDataChannelMessage message) Future<void>
toString() String
A string representation of this object. [...]
inherited

Operators

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