randomEmail method
Implementation
String randomEmail() {
final domains = [
'gmail.com',
'yahoo.com',
'hotmail.com',
'outlook.com',
'aol.com',
'icloud.com',
'protonmail.com',
'mail.com',
'yandex.com',
'zoho.com',
'gmx.com',
'live.com',
'msn.com',
'fastmail.com',
'tutanota.com',
];
final username = randomString(
8,
includeNumbers: true,
includeSymbols: false,
).toLowerCase();
final domain = randomElement(domains);
return '$username@$domain';
}