SubscriptionModel constructor
SubscriptionModel({
- required String id,
- bool? suspended,
- String? planIdentifier,
- int? priceCents,
- String? currency,
- SubscriptionFeatures? features,
- Object? expiresAt,
- String? createdAt,
- String? updatedAt,
- String? customerName,
- String? customerEmail,
- Object? cycledAt,
- int? creditsMin,
- Object? creditsCycle,
- String? customerId,
- String? planName,
- String? customerRef,
- String? planRef,
- bool? active,
- Object? inTrial,
- int? credits,
- bool? creditsBased,
- Object? recentInvoices,
- List<
SubscriptionSubitem> ? subitems, - List<
SubscriptionLog> ? logs, - 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,
});