email method

bool email(
  1. String str
)

Check string is valid email.

Implementation

bool email(String str) {
  RegExp reg = RegExp(_Regex().email);

  return reg.hasMatch(str);
}