DVConsentDeclaration class final
One category as the policy declares it.
Constructors
- DVConsentDeclaration(DVConsentCategory category, {bool required = false, bool? defaultGranted, bool tracking = false})
-
const
Properties
- category → DVConsentCategory
-
final
- defaultGranted → bool
-
The state before anybody answers. Denied unless declared otherwise, and
always granted for a required category.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- required → bool
-
Needed for the application to work: always granted and never asked.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tracking → bool
-
Whether the category implies tracking across other companies' apps and
sites, which on iOS and tvOS means the App Tracking Transparency prompt.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited