customRevenueWithAllAttributes static method

void customRevenueWithAllAttributes(
  1. String eventName,
  2. String currency,
  3. double amount,
  4. String productSKU,
  5. String productName,
  6. String productCategory,
  7. int productQuantity,
  8. double productPrice,
)

Implementation

static void customRevenueWithAllAttributes(
    String eventName,
    String currency,
    double amount,
    String productSKU,
    String productName,
    String productCategory,
    int productQuantity,
    double productPrice) {
  _channel.invokeMethod('customRevenueWithAllAttributes', {
    'eventName': eventName,
    'currency': currency,
    'amount': amount,
    'productSKU': productSKU,
    'productName': productName,
    'productCategory': productCategory,
    'productQuantity': productQuantity,
    'productPrice': productPrice
  });
}