isValidEmail method
String Validation: Extensions for validating strings, such as checking if a string is a valid email address.
Implementation
bool isValidEmail() {
final emailRegExp = RegExp(r'^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$');
return emailRegExp.hasMatch(this);
}