FBLogPurchaseCommand class

A class representing a purchase event to be logged to the Meta App Ads SDK. Properties:

  • amount: A double representing the purchase amount.
  • currency: A string representing the currency code. ISO 4217 code, e.g., "EUR", "USD", "JPY"
  • eventParameter: A map containing key-value (string, string) pairs representing additional parameters associated with the purchase event.

Constructors

FBLogPurchaseCommand({required double amount, required String currency, required Map<String, String> eventParameter})

Properties

amount double
final
currency String
final
eventParameter Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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