createAnswer method

Future<void> createAnswer([
  1. RTCSessionDescriptionCallback? successCallback,
  2. RTCPeerConnectionErrorCallback? failureCallback
])

Implementation

Future<void> createAnswer(
        [RTCSessionDescriptionCallback? successCallback,
        RTCPeerConnectionErrorCallback? failureCallback]) =>
    js_util.promiseToFuture(js_util.callMethod(this, 'createAnswer', [
      successCallback == null ? null : allowInterop(successCallback),
      failureCallback == null ? null : allowInterop(failureCallback)
    ]));