toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['consent_source'] = this.consentSource;
if (this.consentStatus != null) {
data['consent_status'] =
this.consentStatus!.map((v) => v.toJson()).toList();
}
data['continent'] = this.continent;
data['customer_id'] = this.customerId;
data['geolocation'] = this.geolocation;
data['subject_identity_id'] = this.subjectIdentityId;
data['subject_identity_value'] = this.subjectIdentityValue;
data['verification_key'] = this.verificationKey;
return data;
}