isInFuture method

bool isInFuture()

Check if DateTime is in the future

Implementation

bool isInFuture() {
  if (this == null) return false;
  return this!.isAfter(DateTime.now());
}