RTCTransportStats constructor
RTCTransportStats({})
Implementation
factory RTCTransportStats({
_i2.num? bytesReceived,
_i2.num? bytesSent,
_i2.String? dtlsCipher,
_i3.RTCDtlsTransportState? dtlsState,
_i2.String? localCertificateId,
_i2.String? remoteCertificateId,
_i2.String? selectedCandidatePairId,
_i2.String? srtpCipher,
_i2.String? tlsVersion,
_i2.String? id,
_i2.num? timestamp,
_i3.RTCStatsType? type,
}) =>
RTCTransportStats._(
bytesReceived: bytesReceived,
bytesSent: bytesSent,
dtlsCipher: dtlsCipher,
dtlsState: dtlsState?.name ?? _i6.undefined,
localCertificateId: localCertificateId,
remoteCertificateId: remoteCertificateId,
selectedCandidatePairId: selectedCandidatePairId,
srtpCipher: srtpCipher,
tlsVersion: tlsVersion,
id: id,
timestamp: timestamp,
type: type?.name ?? _i6.undefined,
);