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.new({Prod? prod, String? sNItem})
Construtor da classe Det.
Det.fromJson(String source)
Cria uma instância de Det a partir de uma string JSON.
factory
Det.fromMap(Map<String, dynamic> map)
Cria uma instância de Det a partir de um mapa (Map<String, dynamic>).
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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

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