RTCIceCandidatePairStats constructor
RTCIceCandidatePairStats({
- num? availableIncomingBitrate,
- num? availableOutgoingBitrate,
- num? bytesReceived,
- num? bytesSent,
- num? currentRoundTripTime,
- num? lastPacketReceivedTimestamp,
- num? lastPacketSentTimestamp,
- String? localCandidateId,
- bool? nominated,
- String? remoteCandidateId,
- num? requestsReceived,
- num? requestsSent,
- num? responsesReceived,
- num? responsesSent,
- RTCStatsIceCandidatePairState? state,
- num? totalRoundTripTime,
- String? transportId,
- String? id,
- num? timestamp,
- 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,
);