isAfterDuration method

bool isAfterDuration(
  1. Duration duration
)

Check if the date is after the current date

Implementation

bool isAfterDuration(Duration duration) =>
    isAfter(DateTime.now().add(duration));