isEmail property

bool get isEmail

Returns true if the string is a valid email format.

Implementation

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