static DateTime? maybeDateTime(String? timeStamp) { if (timeStamp == null) return null; return DateTime.tryParse(timeStamp); }