alphaNum static method

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

Creates an AlphaNum validation rule.

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

Implementation

static ValidationRule<String?> alphaNum({String? message}) =>
    AlphaNum(message: message);