isFuture method
Returns true if the DateTime object represents a date in the future.
Implementation
bool isFuture() {
return this.isAfter(DateTime.now());
}
Returns true if the DateTime object represents a date in the future.
bool isFuture() {
return this.isAfter(DateTime.now());
}