email static method

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

when valid

  1. value is null
  2. value is an email

Implementation

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