Subscription constructor

Subscription({
  1. bool? cancelAtPeriodEnd,
  2. String? canceledAt,
  3. String? createdAt,
  4. String? currentPeriodEnd,
  5. String? currentPeriodStart,
  6. String? defaultPaymentMethod,
  7. String? endedAt,
  8. String? id,
  9. int? mrrCents,
  10. SubscriptionPlan? plan,
  11. String? planId,
  12. String? providerType,
  13. int? quantity,
  14. String? status,
  15. String? trialEnd,
  16. String? trialStart,
  17. String? updatedAt,
  18. String? userId,
})

Returns a new Subscription instance.

Implementation

Subscription({
  this.cancelAtPeriodEnd,
  this.canceledAt,
  this.createdAt,
  this.currentPeriodEnd,
  this.currentPeriodStart,
  this.defaultPaymentMethod,
  this.endedAt,
  this.id,
  this.mrrCents,
  this.plan,
  this.planId,
  this.providerType,
  this.quantity,
  this.status,
  this.trialEnd,
  this.trialStart,
  this.updatedAt,
  this.userId,
});