email static method

ValidationRule<String> email({
  1. String? message,
})

Creates an Email validation rule.

This rule checks if a string is a valid email address. It can include a custom validation message.

Implementation

static ValidationRule<String> email({String? message}) =>
    Email(message: message);