minValue static method

ValidationRule<num> minValue(
  1. int min, {
  2. String? message,
})

Creates a MinValue validation rule.

This rule checks if a numeric value is greater than or equal to min. It can include a custom validation message.

Implementation

static ValidationRule<num> minValue(int min, {String? message}) =>
    MinValue(min, message: message);