hasLessThreeDays method

bool hasLessThreeDays()

Implementation

bool hasLessThreeDays() {
  if (this == null) return false;
  return this.isAfter(DateTime.now()) &&
      DateTime.now().add(Duration(days: 3)).isAfter(this);
}