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's callIndex (1-based) under the declared bands.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited