domainName method

String domainName()

Generates a domain name from the domainWord method and _domainSuffixes.

Example:

  faker.internet.domainName();

Implementation

String domainName() => '${domainWord()}.${random.element(_domainSuffixes)}';