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