AreaCode enum Null safety

The area of connection.

Constants

AS → const AreaCode

Asia, excluding Mainland China

@JsonValue(8)
const AreaCode(3)
CN → const AreaCode

Mainland China

@JsonValue(1)
const AreaCode(0)
EU → const AreaCode

Europe

@JsonValue(4)
const AreaCode(2)
GLOB → const AreaCode

(Default) Global

@JsonValue(-1)
const AreaCode(6)
IN → const AreaCode

India

@JsonValue(32)
const AreaCode(5)
JP → const AreaCode

Japan

@JsonValue(16)
const AreaCode(4)
NA → const AreaCode

North America

@JsonValue(2)
const AreaCode(1)
values → const List<AreaCode>

A constant List of the values in this enum, in order of their declaration.

const List<AreaCode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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