AiutaToggles class

Toggles some features of the Aiuta SDK behavior.

Annotations
  • @JsonSerializable()

Constructors

AiutaToggles({required bool isHistoryAvailable, required bool isWishlistAvailable, required bool isPreOnboardingAvailable})
Creates a new instance of AiutaToggles.
AiutaToggles.fromJson(Map<String, dynamic> json)
Creates a new instance of AiutaToggles from a JSON object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isHistoryAvailable bool
Whether the history feature is available. If true, the user can see the history of their virtual try-ons. If false, the history feature is disabled, all corresponding UI elements are hidden.
final
isPreOnboardingAvailable bool
Whether the splash screen feature is available as a part of the onboarding process.
final
isWishlistAvailable bool
Whether the wishlist feature is available.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert this object to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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