maxLength method

String maxLength(
  1. int n
)

Message for the maxLength rule.

Implementation

String maxLength(int n) => 'Must be no more than $n characters.';