ResponseNota.fromMap constructor

ResponseNota.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ResponseNota.fromMap(Map<String, dynamic> map) {
  return ResponseNota(
    numeroSessao: map['numeroSessao'] as String,
    codStatus: map['codStatus'] as String,
    mensagem: map['mensagem'] as String,
    cod: map['cod'] as String,
    mensagemSefaz: map['mensagemSefaz'] as String,
    xmlBase64: map['xmlBase64'] as String,
    timeStamp: map['timeStamp'] as String,
    chave: map['chave'] as String,
    valorTotal: map['valorTotal'] as String,
    dadosCnpj: map['dadosCnpj'] as String,
    assinaturaQrcode: map['assinaturaQrcode'] as String,
    codAlerta: map['codAlerta'] as String,
  );
}