fiveDigitStr top-level property
The pattern used by the fiveDigit regular expression. The pattern matches any string that contains exactly 5 digits (0-9).
Implementation
String fiveDigitStr = r'^\d{5}$';
The pattern used by the fiveDigit regular expression. The pattern matches any string that contains exactly 5 digits (0-9).
String fiveDigitStr = r'^\d{5}$';