isThisSecond property

bool get isThisSecond

Implementation

bool get isThisSecond {
  var now = DateTime.now();
  return now.year == year &&
      now.month == month &&
      now.day == day &&
      now.hour == hour &&
      now.minute == minute &&
      now.second == second;
}