isNowOrAfterCurrentDate static method
Implementation
static bool isNowOrAfterCurrentDate(String? strDate) {
if (strDate != null && strDate.isNotEmpty) {
var date = DateTime.parse(strDate).toLocal();
var now = dateNotTime(DateTime.now());
return date == now || date.isAfter(now);
}
return false;
}