cows property Null safety

List<Cow> cows

Implementation

List<Cow> get cows => _cows;
void cows=(List<Cow> _)

Implementation

set cows(List<Cow> _) {
  this._cows = _;
  notifyListeners();
}