isEmail method

bool isEmail()

判断是否为Email

Implementation

bool isEmail() {
  if (this == null) {
    return false;
  }
  return RegexUtil.isEmail(this!);
}