deselectAll method Null safety

void deselectAll()

Implementation

void deselectAll() {
  _cows = _cows.map((e) {
    e.isSelected = false;
    return e;
  }).toList();

  notifyListeners();
}