ElginTransactionResponse.fromMap constructor
Implementation
factory ElginTransactionResponse.fromMap(Map<String, Object?> json) {
return ElginTransactionResponse(
administradora: json['administradora'] == null ? null : json['administradora'] as String,
autorizacao: json['autorizacao'] == null ? null : json['autorizacao'] as String,
cnpjRede: json['cnpjRede'] == null ? null : json['cnpjRede'] as String,
data: json['data'] == null ? null : json['data'] as String,
mensagem: json['mensagem'] == null ? null : json['mensagem'] as String,
nsu: json['nsu'] == null ? null : json['nsu'] as String,
numeroCartao: json['numeroCartao'] == null ? null : json['numeroCartao'] as String,
pagamento: json['pagamento'] == null ? null : json['pagamento'] as String,
rede: json['rede'] == null ? null : json['rede'] as String,
tipoCartao: json['tipoCartao'] == null ? null : json['tipoCartao'] as String,
valor: json['valor'] == null ? null : json['valor'] as String,
vencimento: json['vencimento'] == null ? null : json['vencimento'] as String,
viaCliente: json['viaCliente'] == null ? null : json['viaCliente'] as String,
viaEstabelecimento: json['viaEstabelecimento'] == null ? null : json['viaEstabelecimento'] as String,
viaSMS: json['viaSMS'] == null ? null : json['viaSMS'] as String);
}