Subscription constructor
Subscription({
- bool? cancelAtPeriodEnd,
- String? canceledAt,
- String? createdAt,
- String? currentPeriodEnd,
- String? currentPeriodStart,
- String? defaultPaymentMethod,
- String? endedAt,
- String? id,
- int? mrrCents,
- SubscriptionPlan? plan,
- String? planId,
- String? providerType,
- int? quantity,
- String? status,
- String? trialEnd,
- String? trialStart,
- String? updatedAt,
- 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,
});