AiutaWishlistFeature class

The optional feature to interact with the host application's wishlist. If not provided, there will be no like button in the product card and the generation results.

Annotations
  • @JsonSerializable()

Constructors

AiutaWishlistFeature.new({required AiutaWishlistIcons icons, required AiutaWishlistStrings strings, required AiutaWishlistDataProvider dataProvider})
Creates an AiutaWishlistFeature with the given icons, strings, and dataProvider to sync the wishlist between the SDK and the host application.
AiutaWishlistFeature.fromJson(Map<String, dynamic> json)
factory

Properties

dataProvider AiutaWishlistDataProvider
Data provider for the wishlist feature to sync the wishlist between the SDK and the host application.
final
hashCode int
The hash code for this object.
no setterinherited
icons AiutaWishlistIcons
Icons used in the wishlist feature.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strings AiutaWishlistStrings
Strings used in the wishlist feature.
final

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