DERPMap class
Current DERP relay map — the set of regions and nodes Tailscale
will route through when a direct node-to-node path isn't available.
Mirrors tailcfg.DERPMap. See
tailscale.com/kb/1232/derp-servers.
- Annotations
Constructors
-
DERPMap({required Map<
int, DERPRegion> regions, required bool omitDefaultRegions}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- omitDefaultRegions → bool
-
When true, the node is configured to use only regions defined here
(ignoring the built-in defaults).
final
-
regions
→ Map<
int, DERPRegion> -
Regions keyed by region ID.
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