birth property Null safety
Implementation
String get birth => cow.birth != null ? DateFormat(StringConstants.timeYMDDashFormat).format(cow.birth!) : "-";
String get birth => cow.birth != null ? DateFormat(StringConstants.timeYMDDashFormat).format(cow.birth!) : "-";