AppMetricaRevenue constructor

AppMetricaRevenue(
  1. Decimal price,
  2. String currency, {
  3. int? quantity,
  4. String? productId,
  5. String? payload,
  6. AppMetricaReceipt? receipt,
  7. String? transactionId,
})

Creates an object with information about income from in-app purchases. The parameters price, currency are required.

Implementation

AppMetricaRevenue(this.price, this.currency,
    {this.quantity,
    this.productId,
    this.payload,
    this.receipt,
    this.transactionId});