ResponseStatus.fromMap constructor

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

Implementation

factory ResponseStatus.fromMap(Map<String, dynamic> map) {
  return ResponseStatus(
    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,
    nserieSat: map['nserieSat'] as String,
    tipoLan: map['tipoLan'] as String,
    lanIp: map['lanIp'] as String,
    lanMac: map['lanMac'] as String,
    lanMask: map['lanMask'] as String,
    lanGateway: map['lanGateway'] as String,
    lanDns: map['lanDns'] as String,
    lanDns2: map['lanDns2'] as String,
    statusLan: map['statusLan'] as String,
    nivelBateria: map['nivelBateria'] as String,
    memoriaTotal: map['memoriaTotal'] as String,
    memoriaUsada: map['memoriaUsada'] as String,
    dataAtual: map['dataAtual'] as String,
    versaoSoftwareSat: map['versaoSoftwareSat'] as String,
    versaoLayout: map['versaoLayout'] as String,
    ultimoCfe: map['ultimoCfe'] as String,
    numeroInicial: map['numeroInicial'] as String,
    numeroFinal: map['numeroFinal'] as String,
    dataUltimaCfe: map['dataUltimaCfe'] as String,
    dataComunicacaoSefaz: map['dataComunicacaoSefaz'] as String,
    dataEmissaoCertificado: map['dataEmissaoCertificado'] as String,
    dataVencimentoCertificado: map['dataVencimentoCertificado'] as String,
    estadoSat: map['estadoSat'] as String,
  );
}