createDataChannel method

void createDataChannel(
  1. String label,
  2. RTCDataChannelInit dataChannelDict
)

Implementation

void createDataChannel(String label, RTCDataChannelInit dataChannelDict) {
  pc?.createDataChannel(label, dataChannelDict);
}