Region enum

Enum representing the available regions for Telnyx WebRTC connections.

Inheritance
Available extensions

Values

auto → const Region

Automatically select the best region

const Region('AUTO', 'auto')
eu → const Region

European region

const Region('EU', 'eu')
usCentral → const Region

US Central region

const Region('US-CENTRAL', 'us-central')
usEast → const Region

US East region

const Region('US-EAST', 'us-east')
usWest → const Region

US West region

const Region('US-WEST', 'us-west')
caCentral → const Region

Canada Central region

const Region('CA-CENTRAL', 'ca-central')
apac → const Region

Asia Pacific region

const Region('APAC', 'apac')

Properties

displayName String
The display name of the region
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value used for connection
final

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.
inherited

Static Methods

fromDisplayName(String displayName) Region?
Find a region by its display name
fromValue(String value) Region?
Find a region by its value

Constants

values → const List<Region>
A constant List of the values in this enum, in order of their declaration.