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