addIceCandidate 方法

Future addIceCandidate(
  1. Object candidate,
  2. [VoidCallback? successCallback,
  3. RtcPeerConnectionErrorCallback? failureCallback]
)

实现

Future addIceCandidate(Object candidate,
        [VoidCallback? successCallback,
        RtcPeerConnectionErrorCallback? failureCallback]) =>
    promiseToFuture(JS("", "#.addIceCandidate(#, #, #)", this, candidate,
        successCallback, failureCallback));