isSelected method

bool isSelected(
  1. int index
)

Returns whether or not a dessert row is selected by index.

Implementation

bool isSelected(int index) => _dessertSelections.contains(index);