MaxLengthValidator constructor

const MaxLengthValidator(
  1. int maxLength
)

Constructs a MaxLengthValidator.

The argument maxLength must not be null.

Implementation

const MaxLengthValidator(this.maxLength) : super();