validate method

bool validate(
  1. String value
)

Check to see if the string value is valid for the entry

Implementation

bool validate(String value) {
  return RegExp(_characterType.regexExpression).hasMatch(value);
}