isEmail static method

bool isEmail(
  1. String input
)

Returns whether the input matches the email regex.

Implementation

static bool isEmail(String input) {
  return matches(regexEmail, input);
}