fromDocumentBadge
Generates a CardBadge from a DocumentBadge.
Return
the generated CardBadge.
Parameters
badge
the DocumentBadge to convert.
Generates a CardBadge from a DocumentBadge.
the generated CardBadge.
the DocumentBadge to convert.