toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (id != null) "id": encodeValue(id),
if (label != null) "label": encodeValue(label),
if (taxCode != null) "tax_code": encodeValue(taxCode),
if (description != null) "description": encodeValue(description),
if (customData != null) "custom_data": encodeValue(customData),
"amount": encodeValue(amount),
};