toJson method

Map<String, dynamic> toJson()

Converts this instance to json

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['status'] = this.status;
  data['success'] = this.success;
  data['transaction_id'] = this.transactionId;
  data['tx_ref'] = this.txRef;
  return data;
}