toAttachmentHashType method

AttachmentHashType toAttachmentHashType()

Implementation

AttachmentHashType toAttachmentHashType() {
  switch (this) {
    case 'Sha256':
      return AttachmentHashType.sha256;
  }
  throw Exception('$this is not known in enum AttachmentHashType');
}