logAddToWishlist method

Future<bool> logAddToWishlist({
  1. required String contentType,
  2. required String contentData,
  3. required String contentId,
  4. required String currency,
  5. required double price,
})

Logs Add to Wishlist Event of FBSDK with currency and price

Implementation

Future<bool> logAddToWishlist(
    {required String contentType,
    required String contentData,
    required String contentId,
    required String currency,
    required double price}) async {
  final bool result = await _channel.invokeMethod("logAddToWishlist", {
    "contentType": contentType,
    "contentData": contentData,
    "contentId": contentId,
    "currency": currency,
    "price": price
  });
  return result;
}