MinSelected<T extends Iterable<G>, G> constructor

MinSelected<T extends Iterable<G>, G>(
  1. int min, {
  2. String? message,
})

Creates a new instance of the MinSelected validation rule.

  • min: The minimum required number of selected items (required).
  • message: A custom validation message (optional) to be displayed when the validation fails.

Implementation

MinSelected(this.min, {String? message}) : super(message);