MaxLengthRule constructor

const MaxLengthRule(
  1. int max,
  2. String message
)

Creates a new MaxLengthRule with the given max and message.

Implementation

const MaxLengthRule(this.max, this.message);