toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'productTypes'] = this.productTypes;
  if (this.uuid != null) {
    json[r'uuid'] = this.uuid;
  } else {
    json[r'uuid'] = null;
  }
  if (this.sessionUuid != null) {
    json[r'sessionUuid'] = this.sessionUuid;
  } else {
    json[r'sessionUuid'] = null;
  }
  if (this.deviceId != null) {
    json[r'deviceId'] = this.deviceId;
  } else {
    json[r'deviceId'] = null;
  }
  if (this.loanInformation != null) {
    json[r'loanInformation'] = this.loanInformation;
  } else {
    json[r'loanInformation'] = null;
  }
  if (this.personalInformation != null) {
    json[r'personalInformation'] = this.personalInformation;
  } else {
    json[r'personalInformation'] = null;
  }
  if (this.personalReferenceInformation != null) {
    json[r'personalReferenceInformation'] = this.personalReferenceInformation;
  } else {
    json[r'personalReferenceInformation'] = null;
  }
  if (this.mortgageInformation != null) {
    json[r'mortgageInformation'] = this.mortgageInformation;
  } else {
    json[r'mortgageInformation'] = null;
  }
  if (this.creditCardInformation != null) {
    json[r'creditCardInformation'] = this.creditCardInformation;
  } else {
    json[r'creditCardInformation'] = null;
  }
  if (this.savingsInformation != null) {
    json[r'savingsInformation'] = this.savingsInformation;
  } else {
    json[r'savingsInformation'] = null;
  }
  if (this.creditInformation != null) {
    json[r'creditInformation'] = this.creditInformation;
  } else {
    json[r'creditInformation'] = null;
  }
  if (this.financialInformation != null) {
    json[r'financialInformation'] = this.financialInformation;
  } else {
    json[r'financialInformation'] = null;
  }
  if (this.employmentInformation != null) {
    json[r'employmentInformation'] = this.employmentInformation;
  } else {
    json[r'employmentInformation'] = null;
  }
  if (this.legalInformation != null) {
    json[r'legalInformation'] = this.legalInformation;
  } else {
    json[r'legalInformation'] = null;
  }
  if (this.educationInformation != null) {
    json[r'educationInformation'] = this.educationInformation;
  } else {
    json[r'educationInformation'] = null;
  }
  if (this.coApplicantInformation != null) {
    json[r'coApplicantInformation'] = this.coApplicantInformation;
  } else {
    json[r'coApplicantInformation'] = null;
  }
  if (this.healthInformation != null) {
    json[r'healthInformation'] = this.healthInformation;
  } else {
    json[r'healthInformation'] = null;
  }
  if (this.autoInsuranceInformation != null) {
    json[r'autoInsuranceInformation'] = this.autoInsuranceInformation;
  } else {
    json[r'autoInsuranceInformation'] = null;
  }
  json[r'refinanceLoans'] = this.refinanceLoans;
  if (this.identificationInformation != null) {
    json[r'identificationInformation'] = this.identificationInformation;
  } else {
    json[r'identificationInformation'] = null;
  }
  json[r'clientTags'] = this.clientTags;
  if (this.sessionInformation != null) {
    json[r'sessionInformation'] = this.sessionInformation;
  } else {
    json[r'sessionInformation'] = null;
  }
  if (this.formCompleted != null) {
    json[r'formCompleted'] = this.formCompleted;
  } else {
    json[r'formCompleted'] = null;
  }
  if (this.referralCompanyUuid != null) {
    json[r'referralCompanyUuid'] = this.referralCompanyUuid;
  } else {
    json[r'referralCompanyUuid'] = null;
  }
  if (this.trackingUuid != null) {
    json[r'trackingUuid'] = this.trackingUuid;
  } else {
    json[r'trackingUuid'] = null;
  }
  if (this.partnerUserId != null) {
    json[r'partnerUserId'] = this.partnerUserId;
  } else {
    json[r'partnerUserId'] = null;
  }
  return json;
}