AppMetricaAdRevenue constructor

AppMetricaAdRevenue({
  1. required Decimal adRevenue,
  2. required String currency,
  3. AppMetricaAdType? adType,
  4. String? adNetwork,
  5. String? adUnitId,
  6. String? adUnitName,
  7. String? adPlacementId,
  8. String? adPlacementName,
  9. String? precision,
  10. Map<String, String>? payload,
})

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

Implementation

AppMetricaAdRevenue({
  required this.adRevenue,
  required this.currency,
  this.adType,
  this.adNetwork,
  this.adUnitId,
  this.adUnitName,
  this.adPlacementId,
  this.adPlacementName,
  this.precision,
  this.payload,
});