Purchase constructor

const Purchase({
  1. required PurchaseRecordStore store,
  2. required PurchaseKind kind,
  3. required String item,
  4. PurchasePlan? plan,
  5. int? amount,
  6. required PurchaseState state,
  7. required bool renews,
  8. required bool test,
  9. required String startedAt,
  10. String? endsAt,
})

Implementation

const Purchase({
  required this.store,
  required this.kind,
  required this.item,
  this.plan,
  this.amount,
  required this.state,
  required this.renews,
  required this.test,
  required this.startedAt,
  this.endsAt,
});