checksumPattern top-level property

RegExp checksumPattern
final

The pattern of supported checksum algorithms.

It has to be <algorithm>:<hash> with algorithm being one of supportedChecksumAlgorithms. The checksum is case-insensitive.

Implementation

final checksumPattern = RegExp(
  '^(${supportedChecksumAlgorithms.join('|')}):.+\$',
  caseSensitive: false,
);