SubscriptionPendingInvoiceItemInterval.fromJson constructor
SubscriptionPendingInvoiceItemInterval.fromJson(
- Object? json
Implementation
factory SubscriptionPendingInvoiceItemInterval.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SubscriptionPendingInvoiceItemInterval(
interval: InvoiceitemPlanInterval.fromJson(map['interval']),
intervalCount: (map['interval_count'] as num).toInt(),
);
}