alpha static method

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

Creates an Alpha validation rule.

This rule checks if a string contains only alphabetic characters. It can include a custom validation message.

Implementation

static ValidationRule<String> alpha({String? message}) =>
    Alpha(message: message);