Card

constructor(jsonObject: <Error class: unknown class>, cardKeyProvider: CardKey.Provider)


constructor(jsonObject: <Error class: unknown class>, cardKeysProvider: CardKey.Provider, brazeManager: <Error class: unknown class>?, cardStorage: ICardStorageProvider<*>?, cardAnalytics: <Error class: unknown class>?)

Parameters

jsonObject

JSON representation of the card

cardKeysProvider

The CardKey.Provider responsible for providing the appropriate key for a field.

brazeManager

Allows the card to report clicks internally

cardStorage

Allows the card to persist its viewed/unviewed state