email static method

String email()

Generate a random email.

Implementation

static String email() {
  const domains = ['mockify.org', 'mockify.com', 'mockify.io', 'mockify.dev'];
  final username = '${_randomString(5)}${_random.nextInt(100)}';
  final domain = domains[_random.nextInt(domains.length)];
  return '$username@$domain';
}