TransactionDto.fromJson constructor

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

Implementation

TransactionDto.fromJson(Map<String, dynamic> json) {
  responseCode = json['response_code'];
  statusCode = json['status_code'];
  status = json['status'];
  message = json['message'];
  data = json['data'] != null ? DataDto.fromJson(json['data']) : null;
}