AiutaTryOnToggles class

Toggles for the Try-On feature.

Annotations
  • @JsonSerializable()

Constructors

AiutaTryOnToggles.new({required bool isBackgroundExecutionAllowed})
Creates an AiutaTryOnToggles with the required isBackgroundExecutionAllowed to configure if the try-on feature can be executed in the background after the user closes the SDK while the try-on is being generated.
AiutaTryOnToggles.builtIn()
Creates a built-in try-on toggles configuration with default settings.
factory
AiutaTryOnToggles.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isBackgroundExecutionAllowed bool
Whether background execution is allowed. When the user closes the SDK while the try-on is being generated, the try-on will continue to be generated in the background if isBackgroundExecutionAllowed is true.
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>
toString() String
A string representation of this object.
inherited

Operators

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