Purpose constructor

Purpose({
  1. int? purposeId,
  2. Map<String, String>? purposeName,
  3. Map<String, String>? purposeDescription,
  4. List<SDK>? sdks,
  5. ConsentStatus? consentStatus,
  6. bool? disableOptOut,
  7. Map<String, String>? optOutText,
  8. bool? hideDetails,
  9. bool isGADMapped = false,
  10. Map<String, String> gadDescription = const {},
})

Implementation

Purpose({
  this.purposeId,
  this.purposeName,
  this.purposeDescription,
  this.sdks,
  this.consentStatus,
  this.disableOptOut,
  this.optOutText,
  this.hideDetails,
  this.isGADMapped = false,
  this.gadDescription = const {},
});