isNotValid<T> function

bool isNotValid<T>(
  1. T object, {
  2. Iterable<bool> customValidator(
    1. T?
    )?,
})

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);