getRandomMessage static method
Gets a random mocking message for temporary email detection.
Returns one of 15 pre-defined mocking messages randomly selected.
Example:
final message = TempMailMessages.getRandomMessage();
print(message); // "Nice try! But we're not falling for that temporary email trick. 😏"
Implementation
static String getRandomMessage() {
return _messages[_random.nextInt(_messages.length)];
}