ConsentStatus.fromJson constructor

ConsentStatus.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ConsentStatus.fromJson(Map<String, dynamic> json) {
  collectionTemplateId = json['collection_template_id'];
  consentLifetime = json['consent_lifetime'];
  consentPurposeId = json['consent_purpose_id'];
  consentPurposeName = json['consent_purpose_name'];
  consentStatus = json['consent_status'];
  dataPrincipalId = json['data_principal_id'];
  frequency = json['frequency'];
  piiLabelId = json['pii_label_id'];
  processingPurposeId = json['processing_purpose_id'];
}