StringLength constructor

const StringLength(
  1. {@required int min,
  2. @required int max,
  3. @required String error}
)

Implementation

const StringLength({
  @required this.min,
  @required this.max,
  @required this.error,
}) : super(criticityLevel: 2, error: error);