isEmail static method

bool isEmail(
  1. String input
)

Return whether input matches regex of email.

Implementation

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