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