isInStrings method

PropertyValidator<T, TProperty> isInStrings(
  1. List<String> values, [
  2. bool ignoreCase = false
])

Implementation

PropertyValidator<T, TProperty> isInStrings(List<String> values,
    [bool ignoreCase = false]) {
  return this
      .useValidationRule(new _StringIsIn<TProperty>(values, ignoreCase));
}