IncludedRule constructor

IncludedRule(
  1. 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 ?? [];