isSHA1 property
bool
get
isSHA1
Checks if string is SHA1 hash.
Implementation
bool get isSHA1 => matchesRegex(r'(([A-Fa-f0-9]{2}\:){19}[A-Fa-f0-9]{2}|[A-Fa-f0-9]{40})');
Checks if string is SHA1 hash.
bool get isSHA1 => matchesRegex(r'(([A-Fa-f0-9]{2}\:){19}[A-Fa-f0-9]{2}|[A-Fa-f0-9]{40})');