createUnidirectionalStream property

Future<WritableStream> Function([WebTransportSendStreamOptions?]) get createUnidirectionalStream

Implementation

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

Implementation

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