subtotal property

double get subtotal

Implementation

double get subtotal => items.fold(0, (sum, item) => sum + item.total);