createDataChannel method
      
  
Future<RTCDataChannel> 
createDataChannel(
    
    
- String label,
- RTCDataChannelInit dataChannelDict
override
    Implementation
@override
Future<RTCDataChannel> createDataChannel(
    String label, RTCDataChannelInit dataChannelDict) async {
  try {
    final response =
        await WebRTC.invokeMethod('createDataChannel', <String, dynamic>{
      'peerConnectionId': _peerConnectionId,
      'label': label,
      'dataChannelDict': dataChannelDict.toMap()
    });
    _dataChannel =
        RTCDataChannelNative(_peerConnectionId, label, response['id']);
    return _dataChannel!;
  } on PlatformException catch (e) {
    throw 'Unable to RTCPeerConnection::createDataChannel: ${e.message}';
  }
}