createOffer method

Future<void> createOffer([
  1. RTCSessionDescriptionCallback? successCallback,
  2. RTCPeerConnectionErrorCallback? failureCallback,
  3. RTCOfferOptions? options
])

Implementation

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