PurchaseObservation constructor
const
PurchaseObservation({
- required String productId,
- required String source,
- int? observedAt,
- String? transactionRef,
- String state = 'unknown',
- String verification = 'unknown',
- bool? entitled,
- int? deliveryCount,
- bool? finished,
- bool? acknowledged,
- bool? consumed,
- int? expiresAt,
- int? gracePeriodExpiresAt,
- String environment = 'unknown',
- String productType = 'unknown',
Implementation
const PurchaseObservation(
{required this.productId,
required this.source,
this.observedAt,
this.transactionRef,
this.state = 'unknown',
this.verification = 'unknown',
this.entitled,
this.deliveryCount,
this.finished,
this.acknowledged,
this.consumed,
this.expiresAt,
this.gracePeriodExpiresAt,
this.environment = 'unknown',
this.productType = 'unknown'});