numeric static method

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

Creates a Numeric validation rule.

This rule checks if a string can be parsed as a numeric value. It can include a custom validation message.

Implementation

static ValidationRule<String?> numeric({String? message}) =>
    Numeric(message: message);