EcMessageKey enum
Keys for every validation message the package can emit.
A key is finer grained than an ErrorCode: several keys can share the same code when the same failure needs a different wording, such as the third digit rules of each RUC type.
Values
- identificationEmpty → const EcMessageKey
- identificationInvalidType → const EcMessageKey
- identificationInvalid → const EcMessageKey
- identificationNotNumber → const EcMessageKey
- identificationLengthOrFormat → const EcMessageKey
-
Takes the
digitsargument: the exact length the document must have. - verificationDigitNotNumber → const EcMessageKey
- verificationDigitInvalid → const EcMessageKey
- codeEstablishmentNotNumber → const EcMessageKey
- codeEstablishmentZero → const EcMessageKey
- codeProvinceInvalid → const EcMessageKey
- thirdDigitNotNumber → const EcMessageKey
- thirdDigitOutOfRange → const EcMessageKey
- thirdDigitMustBeNine → const EcMessageKey
- thirdDigitMustBeSix → const EcMessageKey
- rucInvalid → const EcMessageKey
- phoneEmpty → const EcMessageKey
- phoneInvalid → const EcMessageKey
- phoneLocalLength → const EcMessageKey
- phoneLocalFormat → const EcMessageKey
- phoneCountryCode → const EcMessageKey
-
Takes the
countryCodeargument: the Ecuador country code,+593. - phoneInternationalLength → const EcMessageKey
-
Takes the
countryCodeargument: the Ecuador country code,+593. - phoneInternationalFormat → const EcMessageKey
-
Takes the
countryCodeargument: the Ecuador country code,+593.
Properties
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
EcMessageKey> - A constant List of the values in this enum, in order of their declaration.