validateEmail method

bool validateEmail()

Implementation

bool validateEmail() {
  final copy = this;
  if (copy == null || copy.isEmpty || copy.contains(' ')) {
    return false;
  }
  return RegexUtils.check(copy, RegexUtils.email, caseSensitive: false);
}