Subscription constructor
Subscription({
- required _SubscriptionObject object,
- required String id,
- required int created,
- required String customer,
- required SubscriptionStatus status,
- required DataList<
SubscriptionItem> items, - required DateTime currentPeriodStart,
- required DateTime currentPeriodEnd,
- Map<
String, dynamic> ? metadata,
Implementation
Subscription({
required this.object,
required this.id,
required this.created,
required this.customer,
required this.status,
required this.items,
required this.currentPeriodStart,
required this.currentPeriodEnd,
this.metadata,
});