dateAfterFromString static method

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

Creates a DateAfter validation rule from a string date representation.

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

Implementation

static ValidationRule<DateTime?> dateAfterFromString(String date,
        {String? format, String? message}) =>
    DateAfter.fromString(date, format: format, message: message);