putCurrency method

void putCurrency(
  1. String currency
)

Sets the currency property for e-commerce events.

currency - The currency code (e.g., 'USD', 'EUR').

Implementation

void putCurrency(String currency) {
  __map["currency"] = currency;
}