PingResult class

Result of a Diag.ping.

Annotations

Constructors

PingResult({required Duration latency, required PingPath path, String? derpRegion})
const

Properties

derpRegion String?
DERP region code (e.g. nyc, sfo) when path is PingPath.derp.
final
direct bool
Convenience getter for callers that only care about the positive case.
no setter
hashCode int
The hash code for this object.
no setteroverride
isRelayed bool
True when the ping was definitively routed through DERP.
no setter
latency Duration
Round-trip time to the node.
final
path PingPath
Best-effort classification of the route to the node.
final
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
toString() String
A string representation of this object.
override

Operators

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