AdImpression constructor

AdImpression(
  1. int adType,
  2. double cpm,
  3. String network,
  4. int priceAccuracy,
  5. String versionInfo,
  6. String? creativeIdentifier,
  7. String identifier,
  8. int impressionDepth,
  9. double lifetimeRevenue,
)

Implementation

AdImpression(
    int adType,
    this.cpm,
    this.network,
    int priceAccuracy,
    this.versionInfo,
    this.creativeIdentifier,
    this.identifier,
    this.impressionDepth,
    this.lifetimeRevenue)
    : adType = AdType.get(adType),
      priceAccuracy = PriceAccuracy.get(priceAccuracy);