init method Null safety

void init(
  1. CowState _
)

Implementation

void init(CowState _) {
  cowState = _;
}