encode<V> static method
Implementation
static V encode<V>(
AccountInvoicesSettings instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.defaultAccountTaxIds != null) {
container.encodeList(
'default_account_tax_ids',
(container) =>
instance.defaultAccountTaxIds!.forEach((el) => TaxIdOrId.encode(
el,
container.nestedSingleValueContainer().encoder,
)),
);
}
return container.value;
}