Between constructor

Between(
  1. num min,
  2. num max, {
  3. String? message,
})

Creates a new instance of the Between validation rule.

  • min: The minimum allowed length (inclusive).
  • max: The maximum allowed length (inclusive).
  • message: A custom validation message (optional) to be displayed when the validation fails.

Implementation

Between(this.min, this.max, {String? message}) : super(message);