isEmail property
bool
get
isEmail
Implementation
bool get isEmail {
if (this is String) {
return RegExp(r"^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$").hasMatch(this!);
}
return false;
}