encode<V> static method
Implementation
static V encode<V>(
InvoicePlan instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeInt(
'count',
instance.count,
);
container.encodeString(
'interval',
'month',
);
container.encodeString(
'type',
'fixed_count',
);
return container.value;
}