count property

int count

Returns the number of PurchasableFood items in the cart.

Implementation

int get count => _items.length;