RTCIceCandidatePairStats constructor

RTCIceCandidatePairStats({
  1. num? availableIncomingBitrate,
  2. num? availableOutgoingBitrate,
  3. num? bytesReceived,
  4. num? bytesSent,
  5. num? currentRoundTripTime,
  6. num? lastPacketReceivedTimestamp,
  7. num? lastPacketSentTimestamp,
  8. String? localCandidateId,
  9. bool? nominated,
  10. String? remoteCandidateId,
  11. num? requestsReceived,
  12. num? requestsSent,
  13. num? responsesReceived,
  14. num? responsesSent,
  15. RTCStatsIceCandidatePairState? state,
  16. num? totalRoundTripTime,
  17. String? transportId,
  18. String? id,
  19. num? timestamp,
  20. RTCStatsType? type,
})

Implementation

factory RTCIceCandidatePairStats({
  _i2.num? availableIncomingBitrate,
  _i2.num? availableOutgoingBitrate,
  _i2.num? bytesReceived,
  _i2.num? bytesSent,
  _i2.num? currentRoundTripTime,
  _i2.num? lastPacketReceivedTimestamp,
  _i2.num? lastPacketSentTimestamp,
  _i2.String? localCandidateId,
  _i2.bool? nominated,
  _i2.String? remoteCandidateId,
  _i2.num? requestsReceived,
  _i2.num? requestsSent,
  _i2.num? responsesReceived,
  _i2.num? responsesSent,
  _i3.RTCStatsIceCandidatePairState? state,
  _i2.num? totalRoundTripTime,
  _i2.String? transportId,
  _i2.String? id,
  _i2.num? timestamp,
  _i3.RTCStatsType? type,
}) =>
    RTCIceCandidatePairStats._(
      availableIncomingBitrate: availableIncomingBitrate,
      availableOutgoingBitrate: availableOutgoingBitrate,
      bytesReceived: bytesReceived,
      bytesSent: bytesSent,
      currentRoundTripTime: currentRoundTripTime,
      lastPacketReceivedTimestamp: lastPacketReceivedTimestamp,
      lastPacketSentTimestamp: lastPacketSentTimestamp,
      localCandidateId: localCandidateId,
      nominated: nominated,
      remoteCandidateId: remoteCandidateId,
      requestsReceived: requestsReceived,
      requestsSent: requestsSent,
      responsesReceived: responsesReceived,
      responsesSent: responsesSent,
      state: state?.name ?? _i6.undefined,
      totalRoundTripTime: totalRoundTripTime,
      transportId: transportId,
      id: id,
      timestamp: timestamp,
      type: type?.name ?? _i6.undefined,
    );