createDataChannel 方法

RtcDataChannel createDataChannel(
  1. String label,
  2. [Map? dataChannelDict]
)

实现

RtcDataChannel createDataChannel(String label, [Map? dataChannelDict]) {
  if (dataChannelDict != null) {
    var dataChannelDict_1 = convertDartToNative_Dictionary(dataChannelDict);
    return _createDataChannel_1(label, dataChannelDict_1);
  }
  return _createDataChannel_2(label);
}