Between constructor

Between(
  1. num min,
  2. num max
)

Creates an instance of the Between validation rule.

Parameters:

  • min: The minimum value of the range (inclusive).
  • max: The maximum value of the range (inclusive).

Implementation

Between(this.min, this.max) : super.withKey(key);