@override Map<String, Object?> toJson() => { "allocated_amount": encodeValue(allocatedAmount), "amount": encodeValue(amount), "id": encodeValue(id), };