Past constructor

const Past({
  1. String? message,
  2. List<Type> groups = const [],
})

The constraint; message replaces must be a past date, and groups limits it to those validation groups.

Implementation

const Past({super.message, super.groups});