lengthMax method

B lengthMax(
  1. int max, {
  2. String? message,
})

Validate that the length is at most the specified maximum.

Implementation

B lengthMax(int max, {String? message}) => length([isLte(max)], message: message);