deselectAll method Null safety
Implementation
void deselectAll() {
_cowGroups = _cowGroups.map((e) {
e.isSelected = false;
return e;
}).toList();
notifyListeners();
}
void deselectAll() {
_cowGroups = _cowGroups.map((e) {
e.isSelected = false;
return e;
}).toList();
notifyListeners();
}