InRule<T> constructor

InRule<T>(
  1. List<T> acceptedList, {
  2. String? validationMessage,
})

Implementation

InRule(this.acceptedList, {String? validationMessage})
    : super(validationMessage);