birth property Null safety

String birth

Implementation

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