LatencyModel class final
The per-world latency model: one PRNG stream seeded from the world seed, band selection by call index, jitter within the band.
Constructors
- LatencyModel({required int seed})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sample(
String touchpoint, int callIndex, WorldLatencyBands bands) → LatencySample -
Sample the latency for
touchpoint'scallIndex(1-based) under the declaredbands. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited