isAtSameCurrentDate static method
Implementation
static bool isAtSameCurrentDate(DateTime? otherDate) {
if (otherDate == null) return false;
var date = dateNotTime(otherDate.toLocal());
var now = dateNotTime(DateTime.now().toLocal());
return date.isAtSameMomentAs(now);
}