Det class
A classe Det representa os detalhes de um item em 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
- Det({Prod? prod, Imposto? imposto, String? sNItem, String? vItem})
-
Construtor da classe
Det. - Det.fromJson(String source)
-
Cria uma instância de
Deta partir de uma string JSON.factory -
Det.fromMap(Map<
String, dynamic> map) -
Cria uma instância de
Deta partir de um mapa (Map<String, dynamic>).factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- imposto ↔ Imposto?
-
Grupo de tributos do item (
<imposto>).getter/setter pair - prod ↔ Prod?
-
Informações do produto associado ao item.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sNItem ↔ String?
-
Número sequencial do item no documento fiscal.
getter/setter pair
- vItem ↔ String?
-
Valor total do item (
<det><vItem>), do Grupo VB da NT 2025.002.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