static String dateFormatDatetime2({required DateTime? time, String? content}) { if (time != null) { return DateFormat('hh:mm a').format(time); } else { return "$content"; } }