dateAfter static method

ValidationRule<DateTime> dateAfter(
  1. DateTime date, {
  2. String? message,
})

Creates a DateAfter validation rule.

This rule checks if a date is after a specified date. It can include a custom validation message.

Implementation

static ValidationRule<DateTime> dateAfter(DateTime date, {String? message}) =>
    DateBefore(date, message: message);