SubscriptionModel constructor

SubscriptionModel({
  1. required String id,
  2. bool? suspended,
  3. String? planIdentifier,
  4. int? priceCents,
  5. String? currency,
  6. SubscriptionFeatures? features,
  7. Object? expiresAt,
  8. String? createdAt,
  9. String? updatedAt,
  10. String? customerName,
  11. String? customerEmail,
  12. Object? cycledAt,
  13. int? creditsMin,
  14. Object? creditsCycle,
  15. String? customerId,
  16. String? planName,
  17. String? customerRef,
  18. String? planRef,
  19. bool? active,
  20. Object? inTrial,
  21. int? credits,
  22. bool? creditsBased,
  23. Object? recentInvoices,
  24. List<SubscriptionSubitem>? subitems,
  25. List<SubscriptionLog>? logs,
  26. List<CustomVariables>? customVariables,
})

Implementation

SubscriptionModel({
  required this.id,
  this.suspended,
  this.planIdentifier,
  this.priceCents,
  this.currency,
  this.features,
  this.expiresAt,
  this.createdAt,
  this.updatedAt,
  this.customerName,
  this.customerEmail,
  this.cycledAt,
  this.creditsMin,
  this.creditsCycle,
  this.customerId,
  this.planName,
  this.customerRef,
  this.planRef,
  this.active,
  this.inTrial,
  this.credits,
  this.creditsBased,
  this.recentInvoices,
  this.subitems,
  this.logs,
  this.customVariables,
});