totalTax property
double
get
totalTax
Implementation
double get totalTax => items.fold(0.0,
(sum, item) => sum + (item.lineTotal * item.vatPercent / 100).round2());
double get totalTax => items.fold(0.0,
(sum, item) => sum + (item.lineTotal * item.vatPercent / 100).round2());