Port of cardOf from @hatang/chat-protocol: the card in metadata, if any. Unknown kinds are null.
cardOf
@hatang/chat-protocol