AiutaConsentStandaloneStringsCustom class
A custom implementation of the AiutaConsentStandaloneStrings
.
This class allows for custom strings to be provided for the consent standalone feature, including custom titles, descriptions, and button texts.
- Inheritance
-
- Object
- AiutaConsentStandaloneStrings
- AiutaConsentStandaloneStringsCustom
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaConsentStandaloneStringsCustom.new({String? consentPageTitle, required String consentTitle, required String consentDescriptionHtml, required String consentButtonAccept, String? consentButtonReject})
- Creates an AiutaConsentStandaloneStringsCustom with the specified strings.
-
AiutaConsentStandaloneStringsCustom.fromJson(Map<
String, dynamic> json) -
factory
Properties
- consentButtonAccept → String
-
Button text for accepting the consent.
final
- consentButtonReject → String?
-
Button text for rejecting the consent (optional).
Will not be shown if null or
standaloneOnboardingPage
mode.final - consentDescriptionHtml → String
-
HTML description for the consent section.
final
-
HTML footer for the consent section (optional).
final
- consentPageTitle → String?
-
Title for the consent page (optional).
final
- consentTitle → String
-
Title for the consent section.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ AiutaCustomizationType
-
The type of the strings, 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