cows property Null safety
Implementation
List<Cow> get cows => _cows;
Implementation
set cows(List<Cow> _) {
if (_isExistSelectedCow()) {
final List<Cow> cashCows = List.from(_cows);
_cows = _;
_updateSelectedState(_cows, cashCows);
} else {
_cows = _;
}
notifyListeners();
}