ConsentRequest.fromJson constructor
ConsentRequest.fromJson(
- Map<String, dynamic> json
)
Implementation
ConsentRequest.fromJson(Map<String, dynamic> json) {
consentSource = json['consent_source'];
if (json['consent_status'] != null) {
consentStatus = <ConsentStatus>[];
json['consent_status'].forEach((v) {
consentStatus!.add(new ConsentStatus.fromJson(v));
});
}
continent = json['continent'];
customerId = json['customer_id'];
geolocation = json['geolocation'];
subjectIdentityId = json['subject_identity_id'];
subjectIdentityValue = json['subject_identity_value'];
verificationKey = json['verification_key'];
}