MaxItemsOrNullableValidation<T> extension
- on
Methods
-
maxItemsOrNull(
int max, {String? message, String? code}) → SimpleValidationBuilder< List< T> ?> -
Available on SimpleValidationBuilder<
Adds a validation rule that checks if the List? has at mostList< , provided by the MaxItemsOrNullableValidation extensionT> ?>maxitems or is null.