MitTipoDocumento enum
Enum para tipo de documento utilizado no módulo MIT
Este enum é específico para o módulo MIT e representa CPF/CNPJ com códigos numéricos específicos.
Values
- cpf → const MitTipoDocumento
-
CPF (código 1)
const MitTipoDocumento(1, 'CPF') - cnpj → const MitTipoDocumento
-
CNPJ (código 2)
const MitTipoDocumento(2, 'CNPJ')
Properties
- codigo → int
-
Código numérico do tipo (1=CPF, 2=CNPJ).
final
- descricao → String
-
Descrição do tipo de documento.
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
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
Static Methods
-
fromCodigo(
int codigo) → MitTipoDocumento? - Obtém o enum a partir do código numérico.
Constants
-
values
→ const List<
MitTipoDocumento> - A constant List of the values in this enum, in order of their declaration.