AiutaConsentStandaloneDataProviderCustom class
- Inheritance
-
- Object
- AiutaConsentStandaloneDataProvider
- AiutaConsentStandaloneDataProviderCustom
- Annotations
-
- @JsonSerializable()
Constructors
-
AiutaConsentStandaloneDataProviderCustom.new({required ValueListenable<
List< obtainedConsentsIds, required void obtainConsentsIds(List<String> >String> )}) -
Creates an AiutaConsentStandaloneDataProviderCustom with the listenable
obtainedConsentsIds
list with already obtained consents identifiers andobtainConsentsIds
callback to be called when the user has given consents. -
AiutaConsentStandaloneDataProviderCustom.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
obtainConsentsIds
→ void Function(List<
String> ) -
Callback when the user has given consents and pressed the "Continue" button.
App should store the consents identifiers and provide them in the obtainedConsentsIds
property in the future. Otherwise, the SDK will show the consent screen again on next tryOn session.
final
-
obtainedConsentsIds
→ ValueListenable<
List< String> > -
List of consents identifiers already obtained from the user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ AiutaCustomizationType
-
The type of the data provider, indicating whether it is built-in or custom.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited