Dest class

A classe Dest representa os dados do destinatário de um documento fiscal.

Funcionalidades:

  • Suporte à conversão para mapas (Map<String, dynamic>) e JSON.
  • Permite inicialização a partir de mapas e strings JSON.

Constructors

Dest.new({String? cpf, String? xNome, String? cnpj})
Construtor da classe Dest.
Dest.fromJson(String source)
Cria uma instância de Dest a partir de uma string JSON.
factory
Dest.fromMap(Map<String, dynamic> map)
Cria uma instância de Dest a partir de um mapa (Map<String, dynamic>).
factory

Properties

cnpj String?
CNPJ do destinatário (se aplicável).
getter/setter pair
cpf String?
CPF do destinatário (se aplicável).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xNome String?
Nome do destinatário.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converte a instância atual em uma string JSON.
toMap() Map<String, dynamic>
Converte a instância atual em um mapa (Map<String, dynamic>).
toString() String
A string representation of this object.
inherited

Operators

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