addIceCandidate method Null safety

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

Implementation

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