encode<V> static method
Implementation
static V encode<V>(
SubscriptionPendingInvoiceItemInterval instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
InvoiceitemPlanInterval.encode(
instance.interval,
container.nestedSingleValueContainer('interval').encoder,
);
container.encodeInt(
'interval_count',
instance.intervalCount,
);
return container.value;
}