isEmail property
bool
get
isEmail
Returns true if string is a valid email address
Implementation
bool get isEmail => this != null && _emailRegex.hasMatch(this!.toLowerCase());
Returns true if string is a valid email address
bool get isEmail => this != null && _emailRegex.hasMatch(this!.toLowerCase());