contains method

FormValidator contains(
  1. List<String> values
)

Validate the value contains one of the values

Implementation

FormValidator contains(List<String> values) {
  _addRule("contains:${values.join(",")}");
  return this;
}