RepeatingCharacterParser constructor

RepeatingCharacterParser(
  1. CharacterPredicate predicate,
  2. String message,
  3. int min,
  4. int max,
)

Implementation

RepeatingCharacterParser(this.predicate, this.message, this.min, this.max)
    : assert(0 <= min, 'min must be at least 0, but got $min'),
      assert(min <= max, 'max must be at least $min, but got $max');