MaxValidator<T> constructor

const MaxValidator<T>(
  1. T max
)

Constructs the instance of the validator.

The argument max must not be null.

Implementation

const MaxValidator(this.max) : super();