isValidEmail property
bool
get
isValidEmail
Validates if the string is a valid email address.
Implementation
bool get isValidEmail {
final regex = RegExp(Patterns.email);
return regex.hasMatch(this);
}