totalPrice property
double
get
totalPrice
Calculates the total price for this item.
Implementation
double get totalPrice => unitPrice * quantity;
Calculates the total price for this item.
double get totalPrice => unitPrice * quantity;