totalPrice property
double
get
totalPrice
Implementation
double get totalPrice {
double result = 0;
this
.items!
.fold(result, (dynamic pre, e) => result += e.price! * e.quantity!);
return result;
}