ExcludedRule constructor

ExcludedRule(
  1. List? values
)

Creates a new validation rule and sets its values.

  • values a list of constants that value must be excluded from

Implementation

ExcludedRule(List<dynamic>? values) : _values = values ?? [];