AiutaShareDataProviderCustom class

A custom implementation of AiutaShareDataProvider.

This class provides a mechanism to retrieve share text based on product IDs using the getShareText callback.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

AiutaShareDataProviderCustom.new({required Future<String> getShareText(List<String> productIds)})
AiutaShareDataProviderCustom.fromJson(Map<String, dynamic> json)
factory

Properties

getShareText Future<String> Function(List<String> productIds)
Callback to get the share text based on product IDs.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AiutaCustomizationType
The type of the data provider, indicating whether it is built-in or custom.
getter/setter pairinherited

Methods

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

Operators

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