Consent constructor

Consent({
  1. ConsentCategoryPreferences? categoryPreferences,
})

Implementation

Consent({ConsentCategoryPreferences? categoryPreferences})
    : categoryPreferences =
          categoryPreferences ?? ConsentCategoryPreferences();