greaterThanOrEqual method
Checks if the object is a number and is greater or equal to another number
Implementation
AbstractRuleBuilder greaterThanOrEqual(int max, {String? message}) {
return must(
(dynamic dyn) => dyn is num && dyn >= max,
message != null
? message
: useKeyAsElementName
? "$key must be greater than or equal to $max"
: "Number must be greater than or equal to $max",
code: "notGreaterThanOrEqual");
}