toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.decentroTxnId != null) {
    json[r'decentroTxnId'] = this.decentroTxnId;
  } else {
    json[r'decentroTxnId'] = null;
  }
  if (this.status != null) {
    json[r'status'] = this.status;
  } else {
    json[r'status'] = null;
  }
  if (this.responseCode != null) {
    json[r'responseCode'] = this.responseCode;
  } else {
    json[r'responseCode'] = null;
  }
  if (this.message != null) {
    json[r'message'] = this.message;
  } else {
    json[r'message'] = null;
  }
  return json;
}