max method

StringSchema max(
  1. int length
)

Requires at most length characters.

Implementation

StringSchema max(int length) => _copy(maxLength: length);