IncludedRule constructor
IncludedRule(
- List? values
Creates a new validation rule and sets its values.
values
a list of constants that value must be included to
Implementation
IncludedRule(List<dynamic>? values) : _values = values ?? [];