WebTransport constructor

WebTransport(
  1. String url, [
  2. WebTransportOptions? options
])

Implementation

factory WebTransport(String url, [WebTransportOptions? options]) =>
    WebTransport._(url, options ?? undefined);