ChargeResponse.fromJson constructor
Implementation
ChargeResponse.fromJson(Map<String, dynamic> json) {
status = json['status'] == null ? TransactionStatus.ERROR : json['status'];
success = json['success'] == null ? false : json['success'];
transactionId = json['transaction_id'];
txRef = json['tx_ref'];
}