MethodChannelConvertedin class

An implementation of ConvertedinPlatform that uses method channels.

Inheritance

Constructors

MethodChannelConvertedin()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addToCartEvent({required String currency, required String total, required List<ConvertedInProduct> products}) Future<String?>
Logs an add-to-cart event
override
customEvent({required String eventName, required String currency, required String total, required List<ConvertedInProduct> products}) Future<String?>
Logs a custom event
override
deleteDeviceToken() Future<String?>
Deletes the saved device token
override
identifyUser({String? email, String? phone, String? countryCode}) Future<String?>
Identifies the user using either email or phone with an optional countryCode.
override
initialize({required String pixelId, required String storeUrl}) Future<String?>
Initializes the SDK
override
initiateCheckoutEvent({required String currency, required String total, required List<ConvertedInProduct> products}) Future<String?>
Logs an initiate checkout event
override
isInitialized() bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPushNotificationClicked(String campaignId) Future<String?>
Logs push notification clicked event
override
pageViewEvent() Future<String?>
Logs a page view event
override
purchaseEvent({required String currency, required String total, required List<ConvertedInProduct> products, required String orderId}) Future<String?>
Logs a purchase event
override
registerUser(String email) Future<String?>
Identifies the user using email.
override
saveDeviceToken(String token) Future<String?>
Saves the device token for push notifications
override
toString() String
A string representation of this object.
inherited
viewContentEvent({required String currency, required String total, required List<ConvertedInProduct> products}) Future<String?>
Logs a view content event
override

Operators

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