isThisHour property
bool
get
isThisHour
Implementation
bool get isThisHour {
var now = DateTime.now();
return now.year == year &&
now.month == month &&
now.day == day &&
now.hour == hour;
}