fromDataItem

fun fromDataItem(dataItem: DataItem, documentTypeRepository: DocumentTypeRepository? = null): Claim

Creates a Claim previously serialized with Claim.toDataItem.

Return

a Claim.

Parameters

dataItem
documentTypeRepository

if not null, will be used to look up a DocumentAttribute for the claim.