init method Null safety

void init()

Implementation

void init() {
  this.cows = ApiService().cowState.cows;
}