isEmail static method

bool isEmail(
  1. String input
)

Return whether input matches regex of email. 返回输入是否匹配电子邮件的正则表达式。

Implementation

static bool isEmail(String input) {
    return matches(RegexConstants.REGEX_EMAIL, input);
}