isEmail static method

bool isEmail(
  1. String value
)

check if the string value is an email

Implementation

static bool isEmail(String value) {
  return _email.hasMatch(value.toLowerCase());
}