isPast method
Returns true if the DateTime object represents a date in the past.
Implementation
bool isPast() {
return this.isBefore(DateTime.now());
}
Returns true if the DateTime object represents a date in the past.
bool isPast() {
return this.isBefore(DateTime.now());
}