validateEmail method

bool validateEmail()

Returns whether this string is a valid email address

Implementation

bool validateEmail() {
  final String? _copy = this;
  if (_copy == null) {
    return false;
  }
  return RegexUtils.check(_copy, RegexUtils.email);
}