validators/list library
List Validators
This file contains validators that are list specific
Functions
-
listContains<
T> (dynamic item) → IValidator -
Validates that the List contains
item
-
listEmpty<
T> () → IValidator - Validate that the list is empty
-
listIsOfLength(
int size) → IValidator -
Validates that it's a list of
size
length -
listLength<
T> (List< IValidator> validators) → IValidator - Validates that it's a List and the length matches the validators