isSHA256 property

bool get isSHA256

Determines whether a given string represents a valid SHA256 hash.

Implementation

bool get isSHA256 =>
    _hasMatch(this, r'([A-Fa-f0-9]{2}\:){31}[A-Fa-f0-9]{2}|[A-Fa-f0-9]{64}');