RuleOptions constructor
Implementation
RuleOptions({
this.trim,
this.lowerCase,
this.upperCase,
}) {
trim = trim ?? false;
lowerCase = lowerCase ?? false;
upperCase = upperCase ?? false;
if (lowerCase! && upperCase!) {
throw "Both 'lowerCase' and 'upperCase' in the rule options cannot be true";
}
}