isNull function
- String? message,
Returns a IValidator that checks if the given value is null
For better performance and readability, use the $isNull variable directly.
Implementation
IValidator isNull({String? message}) => isType<Null>(message: message);