isEmail property
bool
get
isEmail
True if is a valid email
Implementation
bool get isEmail => RegExp(
r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+.[a-zA-Z]+",
).hasMatch(this);
True if is a valid email
bool get isEmail => RegExp(
r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+.[a-zA-Z]+",
).hasMatch(this);