isNull method
Checks if the object is null
Implementation
AbstractRuleBuilder isNull({String? message}) {
return must(
(dynamic dyn) => dyn == null,
message != null
? message
: useKeyAsElementName
? "$key must be null"
: "Value must be null",
code: "notNull");
}