minSelected<T extends Iterable<G> , G> static method
Creates a MinSelected validation rule.
This rule checks if the number of selected items in an iterable is greater
than or equal to min
.
It can include a custom validation message.
Implementation
static ValidationRule<T> minSelected<T extends Iterable<G>, G>(int min,
{String? message}) =>
MinSelected<T, G>(min, message: message);