validateDomain function

bool validateDomain(
  1. String domain
)

Implementation

bool validateDomain(String domain) =>
    domain.isNotEmpty & RegExp(constants.DOMAIN_REGEX).hasMatch(domain);