domainName method
Generates a domain name from the domainWord method and _domainSuffixes
.
Example:
faker.internet.domainName();
Implementation
String domainName() => '${domainWord()}.${random.element(_domainSuffixes)}';
Generates a domain name from the domainWord method and _domainSuffixes
.
Example:
faker.internet.domainName();
String domainName() => '${domainWord()}.${random.element(_domainSuffixes)}';