RegexModel.digit constructor

RegexModel.digit({
  1. int count = 1,
  2. String? title,
})

Contains count or more digits.

Implementation

factory RegexModel.digit({int count = 1, String? title}) =>
    RegexModel._atLeast(
      count,
      RegExp(r'\d'),
      title ?? RegexLabels.current.digit(count),
    );