ssnValidator property
Matches SSN Number
Implementation
static final RegExp ssnValidator =
RegExp(r"^(?!000|666)[0-8][0-9]{2}-(?!00)[0-9]{2}-(?!0000)[0-9]{4}$");
Matches SSN Number
static final RegExp ssnValidator =
RegExp(r"^(?!000|666)[0-8][0-9]{2}-(?!00)[0-9]{2}-(?!0000)[0-9]{4}$");