Consent constructor

const Consent({
  1. required String id,
  2. required bool legitimateInterest,
  3. required ConsentSources sources,
  4. Map<String, Map<String, String?>> translations = const {},
})

Implementation

const Consent({
  required this.id,
  required this.legitimateInterest,
  required this.sources,
  this.translations = const {},
});