Code enum Null safety

Constants

INPUT_IS_TOO_LONG → const Code

Input has reached the maximum limit

const Code(4)
INVALID → const Code

Invalid phone number

const Code(1)
INVALID_COUNTRY_CALLING_CODE → const Code

invalid country code

Valid example: 33 for france

const Code(2)
INVALID_ISO_CODE → const Code

invalid alpha-2 code (example valid)

Valid example: FR for france

const Code(3)
NOT_FOUND → const Code

A phone number was not found

const Code(0)
values → const List<Code>

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

const List<Code>

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