ConsentCategoryPreferences class

Annotations
  • @JsonSerializable.new(explicitToJson: true, includeIfNull: false)

Constructors

ConsentCategoryPreferences({ConsentPreference advertising = ConsentPreference.unspecified, ConsentPreference analytics = ConsentPreference.unspecified, ConsentPreference functional = ConsentPreference.unspecified, ConsentPreference marketing = ConsentPreference.unspecified, ConsentPreference personalization = ConsentPreference.unspecified})
ConsentCategoryPreferences.fromJson(Map<String, dynamic> json)
factory

Properties

advertising → ConsentPreference
final
analytics → ConsentPreference
final
functional → ConsentPreference
final
hashCode → int
The hash code for this object.
no setterinherited
marketing → ConsentPreference
final
personalization → ConsentPreference
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited