email<T> static method

FormeValidator<T> email<T>({
  1. String errorText = '',
})

when valid

  1. value is null
  2. value is an email

Implementation

static FormeValidator<T> email<T>({String errorText = ''}) {
  return pattern(emailPattern, errorText: errorText);
}