isEmail method

bool isEmail()

判断字符串是否是邮箱地址

Implementation

bool isEmail() => _regExp(r'\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}');