isNull method

AbstractRuleBuilder isNull({
  1. String? message,
})

Checks if the object is null

Implementation

AbstractRuleBuilder isNull({String? message}) {
  return must((dynamic dyn) => dyn == null, message ?? "Value must be null", code: "notNull");
}