LengthRule constructor

LengthRule({
  1. int minimalLength = 8,
  2. bool isMandatory = true,
  3. String? name,
})

Implementation

LengthRule({
  this.minimalLength = 8,
  bool isMandatory = true,
  String? name,
}) : super(
        impact: minimalLength,
        mandatory: isMandatory,
        name: name ?? "Minimal length: $minimalLength",
      );