isValid method

bool isValid()

Implementation

bool isValid() {
  return local.isNotEmpty && domain.isNotEmpty;
}