alphaDash static method

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

Creates an AlphaDash validation rule.

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

Implementation

static ValidationRule<String?> alphaDash({String? message}) =>
    AlphaDash(message: message);