RtcDataChannel createDataChannel(String label, [ Map options ])

Source

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