total property
double
get
total
Total amount of items in cart.
Implementation
double get total => this.items.entries.fold<double>(
0.0,
(previous, item) => double.parse(
(previous + item.key.amount * item.value).toStringAsExponential(2)));