AiutaToggles class

Toggles some features of the Aiuta SDK behavior.

Annotations
  • @JsonSerializable()

Constructors

AiutaToggles({required bool isHistoryAvailable, required bool isWishlistAvailable, required bool isPreOnboardingAvailable, required bool isShareAvailable, required bool isBackgroundExecutionAllowed})
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
isBackgroundExecutionAllowed bool
When the user closes the SDK during the generation process, the SDK can wait for the generation to complete in the background and provide the data to the host application. If disable this, the SDK will stop tracking the status of the operation and stop all activity on closing. Note that the backend will still complete the operation.
final
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
isShareAvailable bool
Flag which turn on or off possibility to use share option.
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