groupCows property Null safety
Implementation
List<Cow> get groupCows => _cows.where((cow) {
if (cowGroupState.currentCowGroup != null) {
return cow.groups.contains(cowGroupState.currentCowGroup);
} else {
return true;
}
}).toList();