createBidirectionalStream property

Future<WebTransportBidirectionalStream> Function([WebTransportSendStreamOptions?]) get createBidirectionalStream

Implementation

_i2.Future<_i3.WebTransportBidirectionalStream> Function(
    [_i3.WebTransportSendStreamOptions?]) get createBidirectionalStream => (
        [_i3.WebTransportSendStreamOptions? p0]) =>
    _i4.promiseToFuture(_i4.callMethod(
      _i4.getProperty(
        this,
        'createBidirectionalStream',
      ),
      r'call',
      [
        this,
        p0 ?? _i6.undefined,
      ],
    ));
set createBidirectionalStream (Future<WebTransportBidirectionalStream> value([WebTransportSendStreamOptions?]))

Implementation

set createBidirectionalStream(
    _i2.Future<_i3.WebTransportBidirectionalStream> Function(
            [_i3.WebTransportSendStreamOptions?])
        value) {
  _i4.setProperty(
    this,
    'createBidirectionalStream',
    _i4.allowInterop(value),
  );
}