LatestStats constructor
const
LatestStats({
- double? receiveBitsPerSecond,
- double? sendBitsPerSecond,
- double? timestamp,
- @JsonKey(name: 'videoRecvBitsPerSecond') double? videoReceiveBitsPerSecond,
- double? videoSendBitsPerSecond,
- @JsonKey(name: 'videoRecvPacketLoss') double? videoReceivePacketLoss,
- double? videoSendPacketLoss,
- @JsonKey(name: 'totalRecvPacketLoss') double? totalReceivePacketLoss,
- double? totalSendPacketLoss,
Implementation
const factory LatestStats({
/// The total (audio + video) amount of bits per second, received over the network.
double? receiveBitsPerSecond,
/// The total (audio + video) amount of bits per second, sent over the network.
double? sendBitsPerSecond,
/// A timestamp of when this calculation was created.
double? timestamp,
/// The total number of bits per second, received for video streams.
@JsonKey(name: 'videoRecvBitsPerSecond') double? videoReceiveBitsPerSecond,
/// The total number of bits per second, sent for video streams.
double? videoSendBitsPerSecond,
/// The total amount of video packet loss on the receive side of the network.
@JsonKey(name: 'videoRecvPacketLoss') double? videoReceivePacketLoss,
/// The total amount of video packet loss on the send side of the network.
double? videoSendPacketLoss,
/// The total amount (video + audio) of packet loss on the receive side of the network.
@JsonKey(name: 'totalRecvPacketLoss') double? totalReceivePacketLoss,
/// The total amount (video + audio) of packet loss on the send side of the network.
double? totalSendPacketLoss,
}) = _LatestStats;