MaxRule constructor
const
MaxRule(
- int limit
Creates a max-length rule using the given limit.
Example:
final rule = MaxRule(50);
Implementation
const MaxRule(this.limit);
Creates a max-length rule using the given limit.
Example:
final rule = MaxRule(50);
const MaxRule(this.limit);