NotInList<T> constructor
Creates a new instance of the NotInList validation rule.
- invalidValues: The list of invalid values (required).
message
: A custom validation message (optional) to be displayed when the validation fails.
Implementation
NotInList(this.invalidValues, {String? message}) : super(message);