Price constructor
Price({
- Credit? priceExclTax,
- Credit? tax,
- PriceBreakdown? breakdown,
Implementation
factory Price({
$0.Credit? priceExclTax,
$0.Credit? tax,
PriceBreakdown? breakdown,
}) {
final result = create();
if (priceExclTax != null) result.priceExclTax = priceExclTax;
if (tax != null) result.tax = tax;
if (breakdown != null) result.breakdown = breakdown;
return result;
}