WebTransportStats constructor

WebTransportStats({
  1. double? timestamp,
  2. int? bytesSent,
  3. int? packetsSent,
  4. int? packetsLost,
  5. int? numOutgoingStreamsCreated,
  6. int? numIncomingStreamsCreated,
  7. int? bytesReceived,
  8. int? packetsReceived,
  9. double? smoothedRtt,
  10. double? rttVariation,
  11. double? minRtt,
  12. WebTransportDatagramStats? datagrams,
})

Implementation

external factory WebTransportStats(
    {double? timestamp,
    int? bytesSent,
    int? packetsSent,
    int? packetsLost,
    int? numOutgoingStreamsCreated,
    int? numIncomingStreamsCreated,
    int? bytesReceived,
    int? packetsReceived,
    double? smoothedRtt,
    double? rttVariation,
    double? minRtt,
    WebTransportDatagramStats? datagrams});