ValidateString extension

Validates a string.

These are extensions on the String type that throw an exception if the value does not meet the validation criteria.

on

Methods

validateMaximumLength(int maximum) → void

Available on String, provided by the ValidateString extension

validateMinimumLength(int minimum) → void

Available on String, provided by the ValidateString extension

validatePattern(String pattern) → void

Available on String, provided by the ValidateString extension