isValidEmail property Null safety
Validates an email
Implementation
bool get isValidEmail {
// Regex taken from:
// https://stackoverflow.com/questions/16800540/validate-email-address-in-dart/16888554#16888554
// Posted by user Airon Tark
final emailRegExp = RegExp(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+");
return emailRegExp.hasMatch(this);
}