fromDocumentBadge

Generates a CardBadge from a DocumentBadge.

Return

the generated CardBadge.

Parameters

badge

the DocumentBadge to convert.