fromJson

Parses an InAppMessageButtonInfo from a JsonValue.

Return

The parsed button info.

Parameters

source

The json value.

Throws

If the button info was unable to be parsed.