BasicConsentInfo class

Minimal IAB TCF consent information which is available when a CMP SDK has been initialized.

Implementers
Annotations

Constructors

BasicConsentInfo({required Map<String, dynamic> raw, required int sdkId, required int? sdkVersion, required int? policyVersion, required bool? gdprApplies})
Creates minimal IAB TCF consent information which is available when a CMP SDK has been initialized.
const

Properties

gdprApplies bool?
Whether GDPR applies for the user in the current context.
final
hashCode int
The hash code for this object.
no setteroverride
policyVersion int?
The unsigned integer representing the version of the TCF that these consents adhere to, if available.
final
raw Map<String, dynamic>
The raw consent info returned from the CMD SDK.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkId int
The id of the CMP SDK, which provided this consent information.
final
sdkVersion int?
The version of the CMP SDK which provided this consent information, if available.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override