WebTransportErrorOptions constructor

WebTransportErrorOptions({
  1. WebTransportErrorSource? source,
  2. num? streamErrorCode,
})

Implementation

factory WebTransportErrorOptions({
  _i3.WebTransportErrorSource? source,
  _i2.num? streamErrorCode,
}) =>
    WebTransportErrorOptions._(
      source: source?.name ?? _i6.undefined,
      streamErrorCode: streamErrorCode ?? _i6.undefined,
    );