caseHandling property

CaseHandling caseHandling
final

Controls case sensitivity behavior during string validation.

  • CaseHandling.exact — validation is case-sensitive (e.g. "Hello" ≠ "hello").
  • CaseHandling.ignore — validation ignores casing (e.g. "Hello" == "hello").

Default: CaseHandling.exact.

Implementation

final CaseHandling caseHandling;