StandardLanguage class
Standard language configuration. This configuration uses the built-in localization provided by the Aiuta SDK. You should provide the terms of service and privacy policy URLs. As well as your brand name.
- Inheritance
-
- Object
- AiutaLanguage
- StandardLanguage
- Annotations
-
- @JsonSerializable()
Constructors
-
StandardLanguage({required DefaultAiutaLanguages language, required String brand, required String termsOfServiceUrl, required String privacyPolicyUrl, required List<
String> onboardingPageConsentSupplementaryPoints}) - Creates a standard language configuration with the given parameters.
-
StandardLanguage.fromJson(Map<
String, dynamic> json) -
Creates a standard language configuration from the given JSON map.
factory
Properties
- brand → String
-
Your brand name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → DefaultAiutaLanguages
-
Built-in language to use.
final
- mode ↔ AiutaLanguageMode
-
Mode of the language configuration.
getter/setter pairinherited
-
onboardingPageConsentSupplementaryPoints
→ List<
String> -
Optional consent points
final
- privacyPolicyUrl → String
-
URL to the privacy policy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- termsOfServiceUrl → String
-
URL to the terms of service.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to a JSON map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited