History.fromJson constructor

History.fromJson(
  1. Map<String, dynamic> json
)

Implementation

History.fromJson(Map<String, dynamic> json) {
  amount = json['amount'];
  responseCode = json['response_code'];
  operationType = json['operation_type'];
  authorizationNsu = json['authorization_nsu'];
  authorizer = json['authorizer'];
  createdAt = json['created_at'];
  authorizerId = json['authorizer_id'];
  gatewayResponseTime = json['gatewayResponseTime'];
  responseMessage = json['response_message'];
  authorizationCode = json['authorization_code'];
  id = json['id'];
  transaction = json['transaction'];
  status = json['status'];
}