DERPRegion class

Annotations

Constructors

DERPRegion({required int regionId, required String regionCode, required String regionName, required List<DERPNode> nodes, double latitude = 0, double longitude = 0, bool avoid = false, bool noMeasureNoHome = false})
const

Properties

avoid bool
Deprecated upstream in favor of noMeasureNoHome; included for completeness. When true, older clients avoid selecting this region as home.
final
hashCode int
The hash code for this object.
no setteroverride
latitude double
Optional geographic coordinates. Both zero when the control plane doesn't publish them.
final
longitude double
final
nodes List<DERPNode>
DERP nodes running in this region, in priority order.
final
noMeasureNoHome bool
When true, this region should not be measured or selected as the node's home; it's only used if another node declares it as their home.
final
regionCode String
Short airport-style code, e.g. nyc, fra, sin.
final
regionId int
Stable numeric ID (non-zero).
final
regionName String
Long human-readable name.
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