onWebTransportClosed property

Stream<WebTransportClosedEvent> get onWebTransportClosed

Fired when WebTransport is disposed.

Implementation

Stream<WebTransportClosedEvent> get onWebTransportClosed => _client.onEvent
    .where((event) => event.name == 'Network.webTransportClosed')
    .map((event) => WebTransportClosedEvent.fromJson(event.parameters));