between static method

String between(
  1. num min,
  2. num max
)

Ensure a form field value is between min,max

Implementation

static String between(num min, num max) => "between:$min,$max";