DateAfter constructor

DateAfter(
  1. DateTime date, {
  2. String? message,
})

Creates a new instance of the DateAfter validation rule.

  • date: The date to compare against (required).

Implementation

DateAfter(this.date, {String? message}) : super(message);