isSSN property
bool
get
isSSN
Determines whether a given string represents a valid Social Security Number (SSN).
Implementation
bool get isSSN {
return _hasMatch(
this,
r'^(?!0{3}|6{3}|9[0-9]{2})[0-9]{3}-?(?!0{2})[0-9]{2}-?(?!0{4})[0-9]{4}$',
);
}