encode<V> static method
Implementation
static V encode<V>(
QuoteInvoiceSettings instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.daysUntilDue != null) {
container.encodeInt(
'days_until_due',
instance.daysUntilDue!,
);
}
if (instance.issuer != null) {
SessionLiability.encode(
instance.issuer!,
container.nestedSingleValueContainer('issuer').encoder,
);
}
return container.value;
}