isNotValid<T> function
Checks if the given object
is not valid (see isValid function).
Returns true
if the object
is not valid, false
otherwise.
Implementation
bool isNotValid<T>(T object, {Iterable<bool> Function(T?)? customValidator}) => !isValid(object, customValidator: customValidator);