In constructor

In(
  1. List<String> items
)

Creates an instance of the In validation rule.

Parameters:

  • items: The list of items that the value should be contained within.

Implementation

In(this.items) : super.withKey(key);