toDocumentHashType method
Implementation
DocumentHashType toDocumentHashType() {
switch (this) {
case 'Sha256':
return DocumentHashType.sha256;
case 'Sha1':
return DocumentHashType.sha1;
}
throw Exception('$this is not known in enum DocumentHashType');
}