isValidEmail property
bool
get
isValidEmail
Implementation
bool get isValidEmail {
if (this == null) return false;
return RegExp(r'^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$').hasMatch(this!);
}
bool get isValidEmail {
if (this == null) return false;
return RegExp(r'^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$').hasMatch(this!);
}