LatencyStats class
A suite of statistical metrics derived from multiple latency samples.
These metrics provide a deeper look into the stability and consistency of the connection beyond a simple "is it up?" check.
- Available extensions
Constructors
Properties
- avgLatencyMs → BigInt?
-
The arithmetic mean of all successful latency samples.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- jitterMs → BigInt
-
The standard deviation of latency samples, measuring "jitter".
final
- latencyMs → BigInt
-
The representative latency value for this report (usually the mean or median of samples).
final
- maxLatencyMs → BigInt?
-
The highest latency recorded across all samples.
final
- minLatencyMs → BigInt?
-
The lowest latency recorded across all samples.
final
- packetLossPercent → double
-
The percentage of samples that failed to return a response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stabilityScore → int
-
A composite score from 0 (broken) to 100 (perfect) representing overall stability.
final
Methods
-
copyWith(
{BigInt? latencyMs, BigInt? jitterMs, double? packetLossPercent, BigInt? minLatencyMs, BigInt? avgLatencyMs, BigInt? maxLatencyMs, int? stabilityScore}) → LatencyStats -
Available on LatencyStats, provided by the LatencyStatsCopyWith extension
Creates a copy of LatencyStats with the given fields replaced by the new values. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override