RtcDataChannel createDataChannel(String label, [Map options])

Source

RtcDataChannel createDataChannel(String label, [Map options]) {
  if (options != null) {
    return wrap_jso(_blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_2_(unwrap_jso(this), label, convertDartToNative_Dictionary(options)));
  }
  return wrap_jso(_blink.BlinkRTCPeerConnection.instance.createDataChannel_Callback_1_(unwrap_jso(this), label));
}