isEmail property

bool isEmail

Whether the string is a valid email.

Implementation

bool get isEmail => _emailRegExp.hasMatch(toLowerCase());