toChecksumAlgorithm method
Implementation
ChecksumAlgorithm toChecksumAlgorithm() {
switch (this) {
case 'SHA256':
return ChecksumAlgorithm.sha256;
}
throw Exception('$this is not known in enum ChecksumAlgorithm');
}
ChecksumAlgorithm toChecksumAlgorithm() {
switch (this) {
case 'SHA256':
return ChecksumAlgorithm.sha256;
}
throw Exception('$this is not known in enum ChecksumAlgorithm');
}