cowStatusTypeToIndex function Null safety

int cowStatusTypeToIndex(
  1. CowStatusType cowStatusType
)

Implementation

int cowStatusTypeToIndex(CowStatusType cowStatusType) => cowStatusType.index;